Posted by:
stevenmartin99
(---.b-ras2.blp.dublin.eircom.net)
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.example1.com
DocumentRoot /www/domain1
</VirtualHost>
<VirtualHost *:80>
ServerName www.example2.com
DocumentRoot /www/domain2
</VirtualHost>
<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp/www/
</VirtualHost>
just this code... u dont want to use different ports.. so make the folder domain1 and domain2 and put this code in the extra/httpd-vhosts.conf
and make sure remove the ; in front of the line in the httpd.conf about
;include extra/httpd-vhosts.conf
=
include extra/httpd-vhosts.conf
save and restart wamp
Steven Martin
stevenmartin99@gmail.comstevenmartin99@hotmail.comPampServer.com - [
pampserver.com]