Solved

Setting up a CNAME on IIS 6

Posted on 2007-11-21
3
2,956 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 71

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 71

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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Stream live video from Raspberry Pi camera 22 325
Why is my Splunk Web URL not working? 2 99
DNS @ Naked Domain Record 5 130
Company website 6 65
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 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