RE: Resolving to 127.0.0.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Duplicate your vhost server names (and serveraliases if you like) in
your hosts file with 127.0.0.1.

That will allow DNS to resolve them to your loopback IP address and
things should work.

--Mark 
Mark Lavi, Enterprise Web Management Team @ SGI
mailto:mlavi@xxxxxxx || phone:+1-650-933-7707
-----Original Message-----
From: Stephen [mailto:stephen-d@xxxxxxxxxx] 
Sent: Tuesday, January 09, 2007 11:30 AM
To: users@xxxxxxxxxxxxxxxx
Subject:  Resolving to 127.0.0.1

I am traveling and set my laptop u with apaches, mysql, php and want to 
continue my web work.

I am using Windows XP Pro

I have set the test domains to resolve to 127.0.0.1 in my hosts file.

When I ping them in a cmd window they resolve to 127.0.0.1 and the ping 
works.

In Firefox, when I do to http://127.0.0.1 I get the apache welcome page

I have entered the domains in my vhosts.conf file.

When I enter  test domain in Firefox it says it is unable to establish a

connection

Any ideas?

Thank you!
Stephen


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux