Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 7th, 2004, 12:58 PM
novak novak is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 4 novak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old January 7th, 2004, 04:14 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 23 m 39 sec
Reputation Power: 181
There is a setting in IIS where you can define which IP a website should listen. Look around in the IIS Service Manager MMC.

Reply With Quote
  #3  
Old January 7th, 2004, 04:32 PM
novak novak is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 4 novak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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:
Originally posted by Doug G
There is a setting in IIS where you can define which IP a website should listen. Look around in the IIS Service Manager MMC.

Reply With Quote
  #4  
Old January 7th, 2004, 04:46 PM
novak novak is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 4 novak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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!

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > second ip on the server doesn't bind to websites...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT