Forum Moderators: phranque
now whenever i try load a page
eg [127.0.0.1...]
it redirects me to my website which is live at
www.domain.com
anyone know how to fix this as i cant seem to ?
Regards
Malcolm
localhost
... is usually just a DNS rule pointing to 127.0.0.1, so commonly interchangeable.
You can also add an entry to your "hosts" file to redirect that IP to "localhost".
That's a better way of doing it, assuming your using this as a test box before pushing changes live.
[edited by: trillianjedi at 5:32 pm (utc) on Aug. 2, 2008]
[posted at the same time as above... snap!]
you normally (eg by default on a windows box) can use:
[localhost...]
[127.0.0.1...]
[machinename...] (eg the name of the computer)
plus the LAN network address
of course you can also fiddle with your hosts file and thus be able to type whatever you want!