PDA

View Full Version : [ubuntu] Virtual Hosting



Datamac
March 31st, 2010, 11:03 PM
I have Apache2 installed and running. I need to have the three example websites viewable as "192.168.1.30/ctrack" and "192.168.1.30/lapdtrpts" and "192.168.1.30/autoinfo" Can anyone help me with this?

dudumomo
March 31st, 2010, 11:17 PM
You mean, you have to create 3 differents website ?
Yes you can, you have to create 3 differents folders and then create 3 virtualhost to set up correctly these 3 website.

May be this can help you:
http://www.freelydifferent.com/self-hosting/lamp-for-linux-apache-mysql-php/
Check 4) Domain(s) / Subdomain(s)

Datamac
March 31st, 2010, 11:21 PM
Thanks, I will give it a try!

Iowan
April 1st, 2010, 12:01 AM
Here (http://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/) is a link I bookmarked that kinda sounds like your problem.