PDA

View Full Version : Hosting multiple sites with apache


thiago.addevico
September 27th, 2007, 02:08 PM
Hi guys,

I've set up a Ubuntu 6.06.1 LTS LAMP server, and installed trac on it. Trac is running fine, but now I want to run another website, and access them like this:

localhost/trac to use trac
localhost/presenca to use my homemame php website

But all docs I've read only teaches to do like this:

trac.localhost
presenca.localhost

My trac VirtualHost is the same listed on http://trac.edgewall.org/wiki/TracOnUbuntu

My personal app vhost is the default
Currently trac is accessible as the default host
What do I do to access them the way I wish?

Thanks
Thiago

kidders
September 28th, 2007, 05:33 PM
Hi there,

localhost/trac to use trac
localhost/presenca to use my homemame php websiteThat only involves one site, so you won't want to configure virtual hosting. Apache is capable of serving your pages this way out of the box.