may check this out:
http://www.4guysfromrolla.
Main Topics
Browse All TopicsHi all,
This is my first post here...
I have a IIS server hosting a website. Server name is (let's say) XY.domain.com. Normally everyone access this website through http://XY.domain.com\<sub directory>. Please note that users should be accessing the sub directories.
Because XY is the server name (and its ugly), I thought it's better to call the IIS website's real name (let's say) ABC instead of XY. So, I created a cname entry in DNS call abc.domain.com pointing to xy.domain.com.
When I ping abc.domain.com then ping responses fine. if browse http://abc.domain.com then it works. but when http://abc.domain.com/<sub
I'm puzzled... I'm not sure where the localhost entry is coming from.. is this a dns issue or the way IIS website is configured? how can I make abc.domain.com/<sub directory> work.
Many thanks in advance...
Cheers !!!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
may check this out:
http://www.4guysfromrolla.
Does it work correctly if you use
http://abc.domain.com/subd
instead of
http://abc.domain.com/subd
?
Hi,
Thanks for the responses...
If I browse http://xy.domain.com/<sub directory> all works fine. I mean this is a fully functional website and yes, the sub directory exist. I only need users to browse the website as http://abc.domain.com/<sub directory> instead of http://xy.domain.com/<sub directory>.
Thanks,
Anyway, I gather that this is a well-known problem for several webservers with redirection.
For IIS, see here
http://support.microsoft.c
It may also help to bind IIS not to all IP addresses (i.e. "*") but only to the IP address of the NIC
Business Accounts
Answer for Membership
by: ryancysPosted on 2009-09-30 at 01:25:37ID: 25456496
Is the URL http://abc.domain.com/<sub directory> exists in your website?
If it's not, try check the IIS Site Properties > Custom Errors tab, and see if error 404 is pointing to correct URL?