hosts file

  • Thread starter Thread starter jemminger
  • Start date Start date
J

jemminger

i've made changes to my hosts file e.g.

127.0.0.1 localhost
www.mysite.localhost localhost

but i cannot use the new host mapping... ping says it can't find it,
same with firefox. localhost and 127.0.0.1 work fine. i've tried
rebooting already. i'm running apache 2.2... this used to work
immediately in XP
 
i've made changes to my hosts file e.g.

127.0.0.1 localhostwww.mysite.localhostlocalhost

but i cannot use the new host mapping... ping says it can't find it,
same with firefox. localhost and 127.0.0.1 work fine. i've tried
rebooting already. i'm running apache 2.2... this used to work
immediately in XP

ignore the above... i'm stupid and didn't RTFM in hosts file. i had
them backwards... this way works:

127.0.0.1 localhost
127.0.0.1 www.mysite.localhost
 
Back
Top