I am attempting to host multiple sites on my small Wamp server (Home windows),
I've added new virtual hosts in "C:WINDOWSsystem32driversetchosts" :
127.0.0.1 localhost 127.0.0.1 bitrix
I produced a brand new folder "C:wampbitrix" for everyone my second project's files. And than add this code in httpd.conf:
NameVirtualHost 127.0.0.1 <VirtualHost 127.0.0.1> ServerName localhost DocumentRoot 'C:\wamp\www' </VirtualHost> <VirtualHost 127.0.0.1> ServerName bitrix DocumentRoot 'C:\wamp\bitrix' </VirtualHost>
If a person knows where's my mistake help me :)
Can't you simply place them both within different folder from the htdocs directory?
MAMP -> htdocs