Hi Mehmet! You just have to create additional entries in your /etc/hosts file. Actually it looks like: 127.0.0.1 localhostif you add the following line, then you can reach your apache at "localhost1", too:
127.0.0.1 localhost1The 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