Solved

DNS entries for websites

Posted on 2007-11-20
3
200 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
powershell - detection of system errors 3 37
Creating csr file for SSL 4 48
Can't See Site After DNS Resolved 7 47
Output Caching in IIS 2 12
Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

863 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

24 Experts available now in Live!

Get 1:1 Help Now