mcrmg
asked on
host multiple sites on win 2003 server
Hi,
I am trying to setup a multiple websites on one of the old win 2003 box. I have two public ip. Here is what I did already:
1. add two public ip to the card, (there are 1 local ip and 2 public ip, For gateways, one local ip, one public gateway )
2. created two sites in iis pointed to two different folders
3. I pick an ip for each site in IIS
4. In Advanced Web Site Identification, only one public ip for each site
But when I use the ip from outside, both ip is pointing to the same site, also, I will get bad request if I dont add local ip to the website (see #4). Not sure where the problem is.
One thing though, I put this box in the dmz, so when the traffic hit those two public ip, it will be redirected to the local ip, is that the problem?
Please help. thx
I am trying to setup a multiple websites on one of the old win 2003 box. I have two public ip. Here is what I did already:
1. add two public ip to the card, (there are 1 local ip and 2 public ip, For gateways, one local ip, one public gateway )
2. created two sites in iis pointed to two different folders
3. I pick an ip for each site in IIS
4. In Advanced Web Site Identification, only one public ip for each site
But when I use the ip from outside, both ip is pointing to the same site, also, I will get bad request if I dont add local ip to the website (see #4). Not sure where the problem is.
One thing though, I put this box in the dmz, so when the traffic hit those two public ip, it will be redirected to the local ip, is that the problem?
Please help. thx
you need to setup IIS to use host headers. http://support.microsoft.com/kb/324287
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
in the Multiple id for this website, I put just one ip (public_ with host header value, but I am still still getting bad request
One thing though, I have not change the dns of the domain name. I want to make sure I can setup two sites using ip first before I change the dns. thanks
One thing though, I have not change the dns of the domain name. I want to make sure I can setup two sites using ip first before I change the dns. thanks
ASKER
Because there are multiple sites on the box, so it MUST use hostname to go to the site, can not use ip, is that correct? thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok, so basically, I need to change the dns first in order for them to work? thanks
yes
ASKER
thanks