[Phpwm] virtual hosts in apache

Joel Stanford joel at joely.net
Wed Apr 26 21:11:53 BST 2006


sukh virdee wrote:

> How can I access webpages that i have created for the virtual host
> through my browser. I've heard that when using windows and IE you can
> make an addition to  the host file and then you can access the dummy
> site through the IP address...?   

Edit the HOSTS file in notepad or similar, found in:

Windows XP = C:\WINDOWS\SYSTEM32\DRIVERS\ETC 
Windows 2K = C:\WINNT\SYSTEM32\DRIVERS\ETC 
Win 98/ME = C:\WINDOWS 

And add your IP first, then a tab delimiter, then the 'fake' domain.

E.g.

127.0.0.1       localhost
123.123.123.123	www.yourdomain.com

Save, and reopen any browser windows.

Should work then. Hope that helps :-)

-- 
Joel Stanford

W: www.joely.net
E: joel at joely.net
P: 01527 908070





More information about the Phpwm mailing list