LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Can't open company website from outside only when inside the company lan (https://www.linuxquestions.org/questions/linux-server-73/cant-open-company-website-from-outside-only-when-inside-the-company-lan-923601/)

perfectpol7 01-13-2012 09:13 AM

Can't open company website from outside only when inside the company lan
 
Hie All
I am using ubuntu server to host my company website, this site has been running for more than four years now without any issue. Today, the website could not be opened from outside. I can access the website from inside LAN but not outside (external). Now, I don't know where to start fixing this problem, light out. Any points, help would be more than appreciated!!!!!

tva 01-13-2012 09:31 AM

Do you have any firewall between your webserver & internet? Do you have different interfaces for LAN & internet, or is the port 80 just redirected from firewall? Anything strange in access or errorlogs? Is your webserver listening on all needed interfaces/ips? You can check it with
Code:

netstat -tupan |grep -i listen |grep 80

273 01-13-2012 09:42 AM

Have you tried accessing the website externally by IP address to check whether it's a DNS issue? If not I'd say it's worth ruling out.

qweeak 01-13-2012 01:40 PM

As tva suggested check if port is not blocked by firewall. Try telneting into port 80 from outside. If it connected , check if it a DNS issue like domain expired or something. Since you can access it from internal network, webserver must be running.

MartinStrec 01-13-2012 02:24 PM

If your server/website is reachable from your LAN and not from the internet (outside), do you use a router/firewall to connect the internet or is the server connected directly on an interface. Probably the router could stop working or works incorrectly.

siranjeevi 01-13-2012 05:48 PM

Hi,

Provide us the ping O/P of your company website by pinging it from inside office and outside.

perfectpol7 01-16-2012 09:42 AM

thanks all, I did fixed the fault was on the router firewall.


All times are GMT -5. The time now is 02:06 AM.