Solved

How do I setup multiple domains / sites in IIS on Windows 2008?

Posted on 2009-04-14
6
375 Views
Last Modified: 2012-05-06
How do I setup multiple domains / sites in IIS on Windows 2008?
0
Comment
Question by:vrahan
  • 2
  • 2
6 Comments
 
LVL 10

Accepted Solution

by:
harperse earned 50 total points
Comment Utility
vrahan,

You would do it the same way it was done in IIS6, if you are familiar with that product.  The most common ways are:
IP based, where you bind multiple IPs to the host, and serve different sites off the different IPs
port based, where you use one IP, and serve the different sites from different ports
host header based, where you specify the site name you wish to use in the host header field and IIS respondes with that content.

Best of luck,
harperse
0
 

Author Comment

by:vrahan
Comment Utility
Hi, I am not familiar with IIS6.

I am interested in "host header based, where you specify the site name you wish to use in the host header field and IIS respondes with that content."

How do you define that?
0
 
LVL 22

Assisted Solution

by:cj_1969
cj_1969 earned 100 total points
Comment Utility
Just create a site and in the config/properties pages for that site there is a place for host headers ... enter the FQDN that will be used to access that site.
i.e.  the first site is accessed using http://site1.mydomain.com and the second one is accessed using http://site2.anotherdomain.com  you enter the site1.mydomain.com in the host header box for site 1 and you enter site2.anotherdomain.com in the host header box for site 2.

Now both sites and work off of 1 IP and both on port 80.  The host header information (the FQDN, Fully Qualified Domain Name) that is used to access the server will be used to determine which site to access.

If this is an intranet site then the FQDN could also just be a machine name or alias  i.e.  http://web1 or http://department5
0
 

Author Comment

by:vrahan
Comment Utility
So in "Host Name" I set "example.domain.com"?
0
 
LVL 22

Assisted Solution

by:cj_1969
cj_1969 earned 100 total points
Comment Utility
If that is the domain that will be used to actually access the site, then yes.
That should do it.
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

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 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

12 Experts available now in Live!

Get 1:1 Help Now