Link to home
Start Free TrialLog in
Avatar of RGuillermo
RGuillermoFlag for United States of America

asked on

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,
ASKER CERTIFIED SOLUTION
Avatar of humeniuk
humeniuk
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of OliWarner
OliWarner

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"
Avatar of RGuillermo

ASKER

Thank you  friends.
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...