Solved

DNS entries for websites

Posted on 2007-11-20
3
186 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
Comment Utility

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
Comment Utility
Very cool, thanks!

-Bonnie

0
 
LVL 70

Expert Comment

by:Chris Dent
Comment Utility

You're welcome :)

Chris
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 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

15 Experts available now in Live!

Get 1:1 Help Now