We are already hosting one website on the server and want to host another one that is LOCAL only ie(192.X.XX.XXX/Website) how do we need to set up IIS to handle this? The local site does not need to be seen from the outside world, only those on our direct network.
-
You set up the site, and bind it to your internal adapter/IP address. As in this unnecessarily-pink screenshot, simply set the "IP Address" under Properties for that particular site to be the internal IP address of the server.
Evan : I have done that and it is still not working, when I go to the ip address I am directed to the default website, which is correct. When I go to the IP/Website I get a page can not be found error. The website that is the default website is not the website that needs to be internalK. Brian Kelley : Does the web server have two different IPs, one for the original and one for the new internal sites?BMDan : 404 indicates it's simply not finding whatever file it is you're looking for. You should debug what file it's trying to load. Start by creating a file named "foo.html" and going directly to that (as opposed to trying to use default.htm or similar). Debug from there.From BMDan -
If it works using the IP address but not using the computer name or a domain name then you need to configure the website to use the correct host headers. The host headers are what will direct http://mywebsite/ or http://mywebsite.com/ to the correct website. Alternatively you would have to make sure that that website is the only one listening on the private IP address (IE: make sure no other website is listening on "all available" IPs).
From Greg Bray
0 comments:
Post a Comment