Solved

DNS question and website

Posted on 2013-06-27
2
243 Views
Last Modified: 2013-07-22
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
0
Comment
Question by:Thomas N
2 Comments
 
LVL 13

Expert Comment

by:Ugo Mena
ID: 39281505
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
 
LVL 12

Accepted Solution

by:
Alan3285 earned 500 total points
ID: 39282592
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

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now