Hi,

Im setting up a dedicated server initially to support a single site (i.e can
dump the aspx file in wwwroot). However the chances are I will need to add
several sites to this machine soon.

The machine (running IIS6) has a single IP at the moment.

What is the best way to setup the first site in order not to cause problems
later ?

- virtual website / directory ?
- host headers ?
- IP per site ?

What are the pros / cons of the above ?

Thanks for any information
Scott

RE: iis6 and multi sites by LeonMayne

LeonMayne
Wed Jun 28 10:58:02 CDT 2006

> Im setting up a dedicated server initially to support a single site (i.e can
> dump the aspx file in wwwroot). However the chances are I will need to add
> several sites to this machine soon.
>
> The machine (running IIS6) has a single IP at the moment.
>
> What is the best way to setup the first site in order not to cause problems
> later ?
>
> - virtual website / directory ?
> - host headers ?
> - IP per site ?
>
> What are the pros / cons of the above ?

The easiest is to set up a new virtual server for each site and assign the
appropriate host header for each on the same IP address. The only drawback is
that you will not be able to use SSL for the sites, as SSL requires one IP
address per certificate.



Re: iis6 and multi sites by Kristofer

Kristofer
Wed Jun 28 11:12:59 CDT 2006

Hello,

I discuss your question in this article:

"Host Headers versus multiple IPs when hosting several websites"
http://www.gafvert.info/notes/HostHeadersVersusIP.htm

I don't consider "virtual directory" to be a website since it is a
directory(...).

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


scott wrote:

>Hi,
>
>Im setting up a dedicated server initially to support a single site (i.e
>can dump the aspx file in wwwroot). However the chances are I will need to
>add several sites to this machine soon.
>
>The machine (running IIS6) has a single IP at the moment.
>
>What is the best way to setup the first site in order not to cause
>problems later ?
>
>- virtual website / directory ?
>- host headers ?
>- IP per site ?
>
>What are the pros / cons of the above ?
>
>Thanks for any information
>Scott

Re: iis6 and multi sites by scott

scott
Thu Jun 29 06:05:13 CDT 2006

many thanks to you both for the reply
Scott