Last post Dec 03, 2007 09:30 AM by firstname.lastname@example.org
Nov 28, 2007 02:10 AM|deepakOne|LINK
I have my local website which is hosted on IIS 5.1. So whenever any machine on my LAN want to access that web site its accessed as "http://<my machine Name>/<web site name>". Now I want to know what should I do to so that I can access web site as "http://<some
other name>/<web site name>"?
Nov 28, 2007 02:45 AM|ngaisteve1|LINK
You can do so by creating a virtual directory. Ie, if you want to use http://localhost/in, then you can create the virtual directory in IIS.
Let's say, your machine name is "abc", then other pc which want to connect to your pc for that website, they should type http://abc/in
Nov 28, 2007 03:27 AM|deepakOne|LINK
Just adding clarification, I do not want my machine name to appear there instead it should be some other name.
Nov 28, 2007 03:32 AM|ngaisteve1|LINK
I see. I think that is not possible.
Nov 28, 2007 09:39 AM|OWScott|LINK
All you need to do is make sure in IIS that you have a binding (Advanced button on the Web Site tab) where the Host header value is blank and the IP address is either (all unassigned) or it's the IP that you'll be connecting to the server with when using
<some other name>. This will take care of the IIS part, so that IIS will listen to the request.
Now you need to ensure that your domain name points to that server. I assume it's a DNS name that you'll be using. Through your DNS provider, set yourdomainname.com with a Host (A) record that is the IP address of your server.
This will result in:
- when you type in the domain name, it will resolve to the IP of your server
- when it reaches the server, IIS knows to listen on that IP
Nov 29, 2007 07:15 AM|HostingASPNet|LINK
Yes, the solution is to properly configure your DNS and IIS.
Dec 03, 2007 09:30 AMemail@example.com|LINK
For information on IIS, see www.iis.net.