Solved

DNS entries for websites

Posted on 2007-11-20
3
214 Views
Last Modified: 2010-04-07
Can I have, for example, www.test.com and demo.test.com point to two different IIS websites on the same IIS web server?

Thanks,
Bonnie
0
Comment
Question by:Bonnie_K
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Chris Dent earned 500 total points
ID: 20319612

Hi Bonnie,

Yes :)

One thing we should check first because it can complicate things. Do either of the sites use Certificates (SSL)?

If they don't it's easy.

Add both names into DNS so you can resolve both back to an IP Address (the IP of the Web Server).

In IIS:

1. Create a new Website
2. Under "IP Address and Port Settings" either set the IP or leave as All Unassigned. Set the Port to 80 and set the Host Header value to "www.test.com"
3. Continue through until the website creation has finished.

Repeat these steps for demo.test.com.

You can see these entries you've made under the properties for each site. The Web Site tab has an Advanced button which allows you to set these or add more.

HTH

Chris
0
 

Author Comment

by:Bonnie_K
ID: 20319672
Very cool, thanks!

-Bonnie

0
 
LVL 70

Expert Comment

by:Chris Dent
ID: 20319761

You're welcome :)

Chris
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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
IIS 8 works fine locally but not over the network 2 32
2003 Server DNS/FS errors 6 65
Cisco ASA dns and browsing 20 46
IIS URL Rewrite/Redirect Rule Help 4 25
I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

860 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