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
mcrmgAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

theruckCommented:
you need to setup IIS to use host headers. http://support.microsoft.com/kb/324287
0
Joshua GrantomSenior Systems AdministratorCommented:
You should really only use 1 IP and use host headers and bindings to point to the correct site.

https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/e7a21b1f-ab13-47f2-8c61-b09cf14a7cb3.mspx?mfr=true
0
mcrmgAuthor Commented:
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
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

mcrmgAuthor Commented:
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
0
Joshua GrantomSenior Systems AdministratorCommented:
You can use a unique IP identifier but that requires you to setup the site differently from the beginning.

The best way for you to do this is host headers.

Here is seom info using IP identifiers https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/74097d64-d3d7-4b07-a1b7-0be86494ba97.mspx?mfr=true
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mcrmgAuthor Commented:
ok, so basically, I need to change the dns first in order for them to work?  thanks
0
Joshua GrantomSenior Systems AdministratorCommented:
yes
0
mcrmgAuthor Commented:
thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.