Microsoft Svr 2K8 DNS and CNAME Records

Hi, Is it possible within Windows Server 2008 DNS to setup a CNAME record for to point to (assuming both and have their DNS settings/records hosted on that same server) ?  Setting-up a CNAME record seems pretty straight forward, and the DNS entry and associated IIS site for hosted on that server work great. But whenever I setup the CNAME record, point it to the FQDN of, and try to pull-up the page in a browser it gives me the standard HTTP Error 404 Resource Not Found error.

TIA ...
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nathan PSystems ArchitectCommented:
I expect it is possible.  You may need to have to wait for DNS changes to propagate to the machine you are testing from?

A CNAME is just a diversion or lookup.

From the computer you are testing from, (if it's running Windows) try typing this into an administrative command prompt:  

ipconfig /flushdns

That might make your computer look up the DNS record again.

Of course, if you're really talking about and style addresses, (as in real live internet sites, not intranet sites) you might be dealing with TTL issues.   A 'TTL' is "Time To Live" or in other words, how long a computer will remember what it was told by a DNS server..

So if you asked for and got a response.
then changed the CNAME 5 minutes later
and checked 5 minutes later...
but the TTL is 60 minutes..

Your computer will just return the value it knew of 10 minutes ago, rather than re-checking for new data.

Good Luck.
Cliff GaliherCommented:
Yes this is possible, and not even all that uncommon. Usual DNS rules apply and there is nothing specific to windows here. You must have a zone for the domain name. Glue records for upstream zones may be required depending on what you are trying to accomplish. DNS records have a standard shelf life and expiration time. To troubleshoot why you are getting 404's you'd want to do a bit more in-depth troubleshooting. Tools like dig, nslookup, and network level monitoring of the browser such as IE's developer tools or Firefox's Firebug would help see what the browser is doing and seeing.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Craig BeckCommented:
You'll need to create a zone for domain2 on the DNS server, then put the CNAME record in that zone which points to the host in domain1.
LGroup1Author Commented:
Okay, perfect - thanks all !

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.