DNS question and website

I have created a cname to route a name to a server before but can we create a DNS record to point to a full webaddress? Ex:

Cname
"Test" goes to server "server1"

I want to do this:

"Test" goes to server "server1\folder"

I tried to put it in as a cname but it would not work. I thought DNS records are flat so would I have to use IIS redirect or something like that? Thanks
Thomas NSystems Analyst - Windows System AdministratorAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
AlanConnect With a Mentor ConsultantCommented:
You cannot do what you want purely with DNS, but as you correctly say, you can do it with either IIS or using some other web server redirect.

However, some DNS providers do have this facility - they use a web server redirect 'invisibly' at their end to achieve it I guess.

If not, and you want something free and easy, I have used one of the free website providers in the past, and set up a redirect from, say, server1.example.org to server2.example.org/folder.

Free providers might go down more often, but if the application is not too critical it might work for you.

HTH,

Alan.
0
 
Ugo MenaCommented:
If you are using IIS, you will use host headers to direct visitors to one of many sites your server is hosting.

Host headers (also known as domain names or host names) let you assign more than one site to a single IP address on a Web server.

Configure a Host Header for a Web Site (IIS 7)
http://technet.microsoft.com/en-us/library/cc753195%28v=ws.10%29.aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.