Running multiple websites on one server with Apache
Posted on 2008-06-25
I am running a Red Had Enterprise 3 server in our office and hosting our Intranet page on it for internal company purposes. We also develop web sites and they go to another server off site. I would like to use our internal server to test the web sites before deploying them.
Currently we have /FolderA which contains our Intranet site.
We want to also get Apache to access /FolderB/websitename
I don't particularly care how the URL is going to read in the office, just as long as the website will pull up for testing and the PHP will work with it. (PHP is currently working fine with the Intranet site).
We have about 50 sites in /FolderB/ and that changes at all time. I don't want to have to assign massive amounts of IPs to the server and constantly be editing the config.
I haven't messed with Apache's config much so the more detail the better.
Thanks in advance.