Web Design and Development Made Simple - Iceous Design by Jokosetio Halim
Aug 12, 2010
0 comments

Setting up virtual hosting with Xampp

Anyhow, here are the steps to setup virtual hosting on XAMPP and window.

1. Install xampp on windows machine. Easy Breezy... just follow the installation steps.

2. then go to go to C:\xampp\apache\conf\extra\httpd-vhost.conf

3. add the following codes for setting up the virtual hosting:

/*******************************************************************

## client site
ServerName testclient.com
ServerAdmin testclient@localhost
DocumentRoot "C:\xampp\htdocs\clients\testclient"

********************************************************************/

4. Almost there... next, go to C:\WINDOWS\system32\drivers\etc\hosts
and define redirect to the virtual host you setup using

127.0.0.1 testclient.com

And voila! You're done. repeat the process for multiple sites.

Add A Comment
Comment(*):
Your Name(*):
Email:
Website:
This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)
Code in the picture:
 

My Blog RSS Newsfeed

Creative Circle

Design and Development

Creative Writing