Re: [users@httpd] Virtual Hosts help needed?

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

 



Hi Mehmet!

You just have to create additional entries in your /etc/hosts file.
Actually it looks like:

127.0.0.1 localhost

if you add the following line, then you can reach your apache at "localhost1", too:

127.0.0.1 localhost1

The same can be done with every name that you would have for your local machine.

(in explanation to the following:)

G.Lams@xxxxxxxxxx wrote:

its too complicated then i thought :)
its my personal computer at home. dont know much about dns or apache :)
just trying to learn on my own.
i wondered how virtual hosts work. i mean how one can posses more than one domain one one disk :)

If you want to use only on your computer, you could define the two hosts in the hosts file of your computer (C:\windows\system32\drivers\etc\hosts on windows, /etc on linux).



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