BerryGardens
asked on
External website not resolving on internal domain of same name.
I am working on a windows 2008 R2 domain that has the same internal name, company.com, as external name. Some changes were made recently by our web designer and now we cannot access our companies webpage internally.
Here's what I know:
1. typing www.company.com into a web browser internally I get "page cannot be displayed"
2. pinging internally www.company.com returns the correct IP of the companies hosting the website x.x.x.x
3. typing www.company.com into a web broswer externally removes the www and resolves correctly to the website
4. typing x.x.x.x into a web browser internally and externally returns "default web page", a bit like website is under construction landing page.
Is this an internal DNS issue or web site issue?
One thought I had is, has the website been configured to redirect www.company.com to company.com? If so, this could be the issue. My understanding is that this is fine for requests coming from outside, but it's not going to work internally for us because our Active Directory domain is named company.com. This means that there are already host records on our internal DNS servers that map company.com to the IP addresses of each of our domain controllers.
Any help in resolving this would be greatly appreciated.
Here's what I know:
1. typing www.company.com into a web browser internally I get "page cannot be displayed"
2. pinging internally www.company.com returns the correct IP of the companies hosting the website x.x.x.x
3. typing www.company.com into a web broswer externally removes the www and resolves correctly to the website
4. typing x.x.x.x into a web browser internally and externally returns "default web page", a bit like website is under construction landing page.
Is this an internal DNS issue or web site issue?
One thought I had is, has the website been configured to redirect www.company.com to company.com? If so, this could be the issue. My understanding is that this is fine for requests coming from outside, but it's not going to work internally for us because our Active Directory domain is named company.com. This means that there are already host records on our internal DNS servers that map company.com to the IP addresses of each of our domain controllers.
Any help in resolving this would be greatly appreciated.
Could you access your webpage before changes? If yes there will your web site and web designer issue.
ASKER
Yes, the web server has been moved to a new location with a new WAN IP - I've updated the public and internal DNS to reflect the IP changes. Working fine externally but not internally.
What do you meen "the web server has been moved"? The whole server like bare metal and OS and webpages and web service, or you moved only web content to new place.
It looks like your website is redirected from www.company.com to company.com. It needs to be fixed.
It looks like your website is redirected from www.company.com to company.com. It needs to be fixed.
ASKER
Sorry should have been clearer, we have designed a new website which is hosted with another company.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I do have a www. on my internal DNS pointing to the new web server. I've contacted the web designer and will report back shortly.
ASKER
The .htaccess file was change to avoid the www rewrites and it's working as expected. Thanks for the comments.