Connecting locally

I had just started a webserver (in WSAD).  I would like to connect to it locally via IE.  How can I do that?  I'm a noob to this stuff, so please excuse my naiveness.
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.

http://<local ip>
where the <local ip> is the ip of the local machine
example if using on the machine then

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
JK2429Author Commented:
If I have a certain HTML file which I need to access, how can I do this?
stevenlewis's method will work as long as you're browsing to the default webroot of the machine.  If you are going to set up more than one vhost or domain on a single webserver though, you'll need the capability to past http headers so the server machine knows which site you're requesting.  As such, a more correct way to do this is to find the file on your computer called "Hosts" with no file extension.  It's in %systemroot%\system32\drivers\etc I think, somthing like that.  Open it with notepad and you'll see a small description of what it does, and usually the following entry


What you want to do is add a line immediately under that with a route to your web site.  For example, if your web site is "" and the server is on your loacl network with IP address of, you should edit your hosts file to look like this:


Then save the file and open internet explorer.  When you type in "" the hosts file tells internet explorer to use the address instead of looking up the address through an internet DNS server.  

FYI - if this is just an intranet site or something you're experimenting with, and doesn't have an actual outside address, you can still use the hosts file edit method.  It works for intranet as well as internet addresses.  You can just give it any name you want to, for example "http://testsite"  by editing the hosts file as discussed and replacing "" in the example above with "testsite"

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

to access a specific html file, http://serveraddress/filename.html

for serveraddress use either the IP address if you're using the first method, or if you edited the hosts file as I suggested.
Just type "http://localhost" in IE - and you are done.
same thing in my last comment applies to localhost if you're viewing on the same machine on which the web server is running.  http://localhost/filename.html

If the web server is not the machine you are on, http://localhost will not work, because it automatically goes to when you type in http://localhost because it is the defualt entry in the aforementioned hosts file. is the default loopback address, meaning tells the computer to connect to itself.
JK2429Author Commented:
Thanks everyone!!
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

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.