Solved

Setting up a CNAME on IIS 6

Posted on 2007-11-21
3
2,946 Views
Last Modified: 2011-10-03
Hello all,

I would like to add a CNAME on my IIS 6 but I can't find the panel to make the
necessary changes.
Could somebody please tell me the steps of how to access this?

Thanks
0
Comment
Question by:nectarios777
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Chris Dent earned 50 total points
ID: 20326940

Hi there,

A CNAME or Alias is a specific type of DNS Entry. It points a Name to another Name. e.g.:

www.domain.com. CNAME webserver1.domain.com.

This doesn't map across to IIS without a little translation as IIS doesn't really care if the Name entry used is a CNAME or not.

IIS can take an incoming HTTP Request and retrieve content from a specific site based on the Hostname used in the Header. That means that an IIS Server can provide different responses on the same IP Address based on the name used to access the server.

To set a Host Header (name for a site) in IIS you would open up the Properties for the Web Site, select the Web Site Tab, click Advanced and add a new entry.

The entry will contain the IP Address (or All Unassigned), the Port (normally 80) and the Name of the Site, e.g. site1.domain.com. As long as you have an entry in DNS for site1.domain.com (to get it to the IP for the IIS Server) then IIS will respond with the content for the site1.domain.com Web Site.

I hope that all makes sense, don't hesitate to ask if you need clarification or are looking to do something else.

Chris
0
 
LVL 1

Author Comment

by:nectarios777
ID: 20326988
Chris,

many thanks for your response. Basically, I want to have my subdomain.mydomain.com point to hello.msn.com.
The 3rd party service asks to setup a CNAME. I was able to do this on my dedicated server using a tool (HSPComplete) but I don't have access to it anymore. So, I'm wondering how can I do this on IIS.
I have tried to create a subdomain and add the headers on it, but still doesn't work.
0
 
LVL 70

Assisted Solution

by:Chris Dent
Chris Dent earned 50 total points
ID: 20327001

If subdomain.mydomain.com is already resolving to your IIS Web Server then you could create a Redirect on IIS (not an Alias / CNAME though).

However, you can't do anything at all if the name doesn't resolve. IIS cannot deal with Name Resolution, that must be set in DNS first.

Chris
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 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

19 Experts available now in Live!

Get 1:1 Help Now