Tuesday, June 30, 2009

Hosting files on apache..

Use this link... explains well
http://www.debuntu.org/2006/02/22/7-virtual-hosting-using-apache-2

1. Put files in var/www/ folder
2. Create a file in sites-available folder
3. Create a soft link in sites-enable folder
4. Change the /etc/hosts file
like 127.0.1.1

restart apache
sudo /etc/init.d/apache2 restart

No comments:

Post a Comment