Can't access site internally, but DNS works

Posted by BloodyIron on Server Fault See other posts from Server Fault or by BloodyIron
Published on 2012-10-01T15:00:43Z Indexed on 2012/10/01 15:41 UTC
Read the original article Hit count: 230

Filed under:
|
|

1) I have apache2 running a vhost for a website.

2) This apache2 instance is already successfuly setup for other websites on it to be accessible internally and externally.

3) I am using an internal bind9 server to resolve the new website's domain internally to the private IP. This bind9 server is not public facing, nor is it the master server on the internet.

4) The DNS internally resolves to the right IP.

5) Firefox reports "server not found".

6) I have copied the config almost identically to other configs that are known to work (adjusting for proper paths of course). In turn I have reloaded and restarted apache2 repeatedly.

7) I have an entry to forward .org .info .net alternative TLDs to .com in the vhost config for this domain, and my browser goes from .org to .com despite note #5.

8) /var/log/apache2/access.log shows when someone externally tries to access the site, but no activity is observed when someone tries to access internally. Changing the log level does not appear to improve the situation.

9) I am out of ideas, nothing appears to be wrong. Please help?

To be explicit. Why is this new site unreachable internally?

I would like to clarify on something, even though I have already outlined this. YES I know this system is in a private network. NO it is not going through a router. YES I am using an internal DNS server (bind9) to resolve, and YES it does resolve to the proper internal IP. YES other websites on the same server setup in the same way with internal resolution work right now and have done for a while. Everything for this domain is setup the same as the other working domains as far as I can tell. The other working domains are internally AND externally accessible. This domain I am working with is only currently externally accessible. When I go to it internally firefox tells me "Server not found".

© Server Fault or respective owner

Related posts about apache2

Related posts about ubuntu