Author Topic: How to Host Multiple Websites with a Single Server  (Read 1278 times)

0 Members and 1 Guest are viewing this topic.

angela901

  • Guest
How to Host Multiple Websites with a Single Server
« on: January 15, 2012, 09:36:06 AM »
There are many different ways you can configure Apache to host multiple sites, ranging from the simple to the complex. Here we're only going to cover the basics with the use of the NameVirtualHost directive. The advantage of this approach is that you don't need to hard-wire any IP addresses, and it will just work. The only thing you need is for your domain names to resolve to the IP address of your webserver.

Hosting multiple websites on the same host it makes a lot of sense to be very clear on the location of each sites file upon the filesystem. The way I suggest you manage this is to create a completely seperate document root, cgi-bin directory, and logfile directory for each host.

1,000 Leads Daily - 3 Day Risk Free Trial

Business Opportunity Leads!


 

P.S. Do you want to see how we made $14,178.00 Dollars Last Month?

Click Here For All The Info!

Free Advertising Forum Post Ads Online