[Last Call] Learn how to a build a cloud-first strategyRegister Now


I moved mydomain.com from DC/DNS server to a webserver - www.mydomain.com works but  mydomain.com does not.

Posted on 2008-11-19
Medium Priority
Last Modified: 2013-11-30
I am in the process of retiring mydomain.com DC's and have moved mydomain.com to a different webserver.  Changed www dns A record to new server edited IIS headers for ip and domain www.mydomain.com and mydomain.com.
www.mydomain.com always works.  mydomain.com http request works most of the time, sometimes not.
any ideas how I direct http requests for mydomain.com to www server?
nslookup on mydomain.com returns all dns adresses as well as www server address.
Question by:Greg Hejl
LVL 58

Expert Comment

ID: 23008436


If looking up mydomain.com (without the www. component) returns the correct IP address of the web server, then the problem is not DNS and would appear to be with IIS itself instead.

I would suggest you take a look at the host headers in IIS. Consider adding a second host header entry (use the button marked 'Advanced' I believe beside the standard host header/IP configuration section), listening on the same port and IP address as the first is configured to listen on, but with a host header value of mydomain.com too. This should iron out any issues with browsing on either of those domain names.

LVL 31

Accepted Solution

Henrik Johansson earned 1500 total points
ID: 23008845
All DCs will automatically register its IP as A-record for mydomain.com in DNS as "sasme as parent" to handle domain-based DFS.
The web browser that works has propably a setting enabled that it shall try to add www before domain name or that some of the DCs has IIS running with the website and sometimes responds depending on DNS roundrobin.
If you want to ensure that it always work to use http://mydomain.com, you nead to install IIS on all DCs and configure them to redirect to http://www.mydomain.com
IIS manager on each DC: Web sites -> Default web site -> Right-click -> Properties -> Home Directory -> "A redirection to a URL"
LVL 13

Author Closing Comment

by:Greg Hejl
ID: 31518467
Thanks Henjoh09!
This is a great option!  I had already done tigermatts suggestion and yours will work great

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question