|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
second ip on the server doesn't bind to websites...
hi,
i have two ip addresses installed on one NIC card. i have multiple websites hosted (through host-headers) on one ip and they all work fine. i want to have ONLY one, unique web site on the second ip address but that doesn't work. the web site has the ip defined if i type the ip address of that one website with unique ip, iis gives me back "Bad Request (Invalid Hostname)". also if i type the website's URL, IIS gives me back "Bad Request (Invalid Hostname)". but in the IIS manager if i change IP address to first ip it shows fine. the weird thing is that the second ip lives on my server, since iis response to it but it doesn't want to bind it to any website -in other words IIS obviously sees the second ip but it is having problems with it what am i missing? what should i check? in the network connections, or ipconfig /all, i can see both ip addresses listed - i even tried changing the order they are listed - no help. please help! novak |
|
#2
|
|||
|
|||
|
There is a setting in IIS where you can define which IP a website should listen. Look around in the IIS Service Manager MMC.
|
|
#3
|
|||
|
|||
|
thanks for advice, based on URL IIS binds to all IP addresses on the server, not just the IP addresses that are assigned to Web sites.
And it seems that iis sees the right ip but does not binds the right website with it. i have only one website defined on my second ip: IIS doesnot shows the right website it gives me bad request instead... very frustraiting, dunno what else to do, and this is urgent Quote:
|
|
#4
|
|||
|
|||
|
wow, i got it
to actually do that i had to do this...
Click Start. Click All Programs. Click Windows Support Tools. Click Support Tools Help. Click H under Alphabetical List of Tools by File Name. Double-click Httpcfg.exe ( HTTP Configuration Utility). and then find the example to add an IP address to the iplisten store. httpcfg set iplisten -i 10.0.0.1:80 HttpSetServiceConfiguration completed with 0. thanks for the tip doug! |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > second ip on the server doesn't bind to websites... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|