I currently run a website at www.domain1.com which happily points to my server not a problem.

This server (Fedora Core 10) runs Apache, PHP etc the full LAMP setup. I now want to run www.domain2.com from this server too. As I understand it i can do this with Virtual Hosts.

Most of the tutorials I have found so far have been more confusing than helpful.

Could someone tell me if my assumtion is corect, and either point me in the right direction or post a sample httpd.conf file please.

Thanks in advance, Aiden.

Look at the example "sites-available" config files. They should point you in the right direction.

This article has been dead for over six months. Start a new discussion instead.