[users@httpd] Apache, Virtual Hosts, Linux hosts file

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

 



I have a Linux box (Mandrake 10.1) running Apache 2.0.

I am using it for testing of PHP-MySQL  scripts.

I have it working, but I had to map the virtual urls to the Linux box's ip address in the Linux hosts file.

I am using a web browser on another machine on my network. If I do not have the entries in the Linux box's hosts file, I get the default Apache welcome page.

I am not using DNS, just entries in the hosts file on the machine I am running the browser on.

Why do I need the entry in the Linux box's hosts file? I am considering the possibility that I have a configuration problem. She not the entry in the VHosts.conf file for the virtual hosts be sufficient?

I am not trying to use a browser on the Linux box!

Thanks in advance!
begin:vcard
fn:Stephen
n:;Stephen
email;internet:stephen-d@xxxxxxxxxx
x-mozilla-html:FALSE
version:2.1
end:vcard


---------------------------------------------------------------------
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