Generic filters
Exact matches only

How to add a Virtual host – httpd file

26th June 2013

Windows

windows-codehaven

Add this to the bottom of the httpd.conf file (apache folder)

and this to the hosts file (C:\Windows\System32\drivers\etc)

Restart apache, and just type clienta and see the files in that folder prefererably index.html
If you have this in the top of httpd.conf : – Listen 127.0.0.1:3700
then you will have to add clienta:3700 to your url and your code will be like this: –

Was this code snippet helpful?