Jump to content

Virtual Host Not Working


hamza

Recommended Posts

hi

i am unable to define vhost on local machine.

please check below

 

 

enabled

 

Include conf/extra/httpd-vhosts.conf

 

 

httpd-vhosts.conf

 


<VirtualHost *:80>
   ServerAdmin [email protected]
   DocumentRoot C:\wamp\www\cms
   ServerName top5freeware

</VirtualHost>

<VirtualHost *:80>
   ServerAdmin [email protected]
   DocumentRoot C:\wamp\www
   ServerName localhost        
</VirtualHost>


 

 

hosts

127.0.0.1 localhost

127.0.0.1 top5freeware

 

 

 

dont no why it is not working at all i restated the appachi did evything that i know

Link to comment
https://forums.phpfreaks.com/topic/271499-virtual-host-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.