954,242 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Apache Virtual Hosts

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.

nerden
Newbie Poster
21 posts since Mar 2008
Reputation Points: 10
Solved Threads: 1
 

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

amadensor
Newbie Poster
5 posts since Dec 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: