[Xitami] Subdomain under Win XP Home localhost

Martin Bleisteiner martin at bleisteiner.net
Tue Sep 27 09:39:55 CEST 2005


Are you sure you edit the file "hosts" and not "hosts.sam"?
Must always be a single line for each entry.
Maybe when Windows sees the keywords "localhost" or "mycomputername" it does not look into the hosts file at all. 
You can try to put entries into hosts when you use a name different from your computer's name:
127.0.0.1  anothername
127.0.0.1  sub.anothername
127.0.0.1  more.anothername

Martin

----- Original Message ---------------

Subject: RE: [Xitami] Subdomain under Win XP Home localhost
   From: "Ayhan Tuncer" <tuncer at dalan.com.tr>
   Date: Tue, 27 Sep 2005 10:17:52 +0300
     To: <jamesamc at bellsouth.net>,
         "Xitami Users General Discussion" <xitami at lists.xitami.org>
>Browser did not behave per new information in the hosts file but still
>could access mycomputername and localhost everytime.
>
>Used IP 127.0.0.1 and left localhost in primary position.
>
>Tried and added :
>- subdomain.localhost
>- subdomain.mycomputername
>- subdomain  all by itself without any dots
>
>In both forms:
>- all host names accross IP separated by spaces on same line
>- host name accross IP, each on an individual line
>
>All of them seem to be ignored during browser request.
>
>Almost as if XP takes no notice of the hosts file. 
>



More information about the Xitami mailing list