Many websites in the same host server

Posted on 2005-05-04
Last Modified: 2012-06-21
Hi Experts,
I work with IIS and recently was trying to install three different web sites in the same server.


and created many websites.

Now How do I access each website. I'm always accessing the default site from Internet explorer.
How do I let my visitors specify which website??
Best regards,
Question by:rguillermo
    LVL 33

    Accepted Solution

    There are three commonly accepted methods of doing this in IIS -

    The first and preferred method is to use a unique IP address for each website.  However, not everyone has enough public IP addresses to use this method.  Configuration info:
    "Creating Multiple Sites Using Multiple IP Addresses (IIS 6.0)"

    The second method is to use Host Headers.  Configuration info:
    "Creating Multiple Sites Using Host Header Names (IIS 6.0)"

    The third method is to use unique ports for each website.  This tends to be inconvenient as using ports other than the default http port (80) requires uses to include the port number in the URL, ie.  Configuration info:
    "Creating Multiple Sites Using Ports (IIS 6.0)"

    I hope this helps.
    LVL 16

    Expert Comment

    The most common method for single IP servers is to tell IIS to look for what site the user is asking for, and redirect them accordingly.

    So say you have 3 sites:

    they all point to the same server
    If you put into the browser, IIS will see that there is a request for coming in and look to see if it has any sites which meet that criteria, and if so, hand out the right pages. If not, it'll punch out the first created non-header specific site - ie the default one.

    This means people wont be able to access their site (via http) by the IP. they will need to use a DNS name like

    As for configuring each site, its pretty easy, just a few clicks and you specify which headers to use for which sites... read the link as posted above under: "Host Headers"

    Author Comment

    Thank you  friends.
    LVL 16

    Expert Comment

    Grade B for a perfect answer?

    Remember experts post for points and different grades give different points... a B grade gives 1000 fewer points than an A grade...

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Both Easy and Powerful How easy is PHP? (  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
    The viewer will learn how to count occurrences of each item in an array.

    746 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

    14 Experts available now in Live!

    Get 1:1 Help Now