How to find my apache user

go through config file httpd.conf and find out user and group name:

In linux, with following command:

Then you will get the result as below:


How to add virtual host in apache on Windows 7

Here is what I did:

Host file


Add line below localhost:



Add following content:

Restart the server. Then you can open them in browser now.

Here is another sample for more settings