Wamp virtualhost with supporting of remote access

Posted by Farid on Server Fault See other posts from Server Fault or by Farid
Published on 2010-12-26T18:58:00Z Indexed on 2012/05/31 4:42 UTC
Read the original article Hit count: 541

Filed under:
|

To cut the long story short, I've setup a Wamp server with local virtual host for domain like sample.dev, now I've bind my static IP and port 80 to my Apache and asked the client to make some changes in his hosts file and add x.x.x.x sample.dev , I've also configured my httpd virtual host like this :

<VirtualHost *:80>
    ServerAlias sample.dev
    DocumentRoot 'webroot_directory'
</VirtualHost>

Client can reach to my web server using the direct access by ip address, but when he tries using the sample domain looks like he gets in to some infinite loop. The firewall is off too. What would be the problem?!

Thanks.

© Server Fault or respective owner

Related posts about wamp

Related posts about wampserver