New wamp install - no localhost
Posted by: Neilj99 (---.no-dns-yet.enta.net)
Date: October 17, 2007 04:05PM

Hi,

I've installed wamp 1.7.3 on my system from new.

When I type in localhost into the addressbar, it just sits there waiting, but if I type in 127.0.0.1, then I get the wamp homepage.

How can I resolve 'localhost' instead of 127...?

Thanks,

Neil

Options: ReplyQuote
Re: New wamp install - no localhost
Posted by: toivo (---.nsw.bigpond.net.au)
Date: October 17, 2007 09:55PM

Hi,

Use Notepad to have a look at the hosts file in c:\windows\system32\drivers\etc\hosts. It should have a line which is not commented out:

127.0.0.1 localhost

If you add this line, the url starting with [localhost] will be resolved to [127.0.0.1].

You can also add a dummy domain to the hosts file which is then available only locally in your workstation:

127.0.0.1 example.com


Regards,



toivo
Sydney, Australia

Options: ReplyQuote


Sorry, only registered users may post in this forum.