Solved

Setting up a CNAME on IIS 6

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows-Based File Server (SMB) and Point in Time Backups (Shadow Copy?) 10 76
Systems talking to each other 5 142
Event ID: 1202 / Source: SceCli 6 126
Bizarre hard disk problem 15 133
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

808 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