[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

Many websites in the same host server

Hi Experts,
I work with IIS and recently was trying to install three different web sites in the same server.

So I used the APPLICATION SERVER / ISS MANAGER / WEBSITES from win2003

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,
0
RGuillermo
Asked:
RGuillermo
  • 2
1 Solution
 
humeniukCommented:
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)"
www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/74097d64-d3d7-4b07-a1b7-0be86494ba97.mspx

The second method is to use Host Headers.  Configuration info:
"Creating Multiple Sites Using Host Header Names (IIS 6.0)"
www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/23c7155c-dde4-4a1c-95e5-09bc62b1f6c0.mspx

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. www.domain.com:80.  Configuration info:
"Creating Multiple Sites Using Ports (IIS 6.0)"
www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/55161df5-5f55-4ed3-bb26-b675153d49ac.mspx

I hope this helps.
0
 
OliWarnerCommented:
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:
eg1.com
eg2.com
eg3.com

they all point to the same server
If you put eg1.com into the browser, IIS will see that there is a request for eg1.com 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 eg1.com.

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"
0
 
RGuillermoProject ManagerAuthor Commented:
Thank you  friends.
0
 
OliWarnerCommented:
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...
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now