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

[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to