Solved

Setting up a CNAME on IIS 6

Posted on 2007-11-21
3
2,949 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Learn about cloud computing and its benefits for small business owners.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

896 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

14 Experts available now in Live!

Get 1:1 Help Now