Jump to content


Photo

Virtual Host Not Working


  • Please log in to reply
1 reply to this topic

#1 hamza

hamza

    Advanced Member

  • Members
  • PipPipPip
  • 320 posts

Posted 02 December 2012 - 04:08 PM

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 ramesh@thegeekstuff.com
    DocumentRoot C:\wamp\www\cms
    ServerName top5freeware
    
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin ramesh@thegeekstufdf.com
    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

#2 requinix

requinix

    Hopeless Member

  • Moderators
  • 5,914 posts
  • LocationWA

Posted 03 December 2012 - 02:01 PM

And you say it's not working because... why?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com