I need to build a server that will enable me to work on multiple websites at once. I would need to run multiple websites from the same machine with a DNS routing to different pages like http://testbed and http://testbed2. Does anyone know of any software that this could be done with. I know it can be done, but it alludes me as to how. Linux based platform would be the best solution as I will be mainly using it for web development and it would need to run PHP and it's latest releases. I know there are a few issues with URL rewriting etc on IIS. Any help would be great. I'm just looking to be pointed in the right direction. Server Os i normally use is CentOS. Cheers.
apache does this and i think lhhtpd does it as well Apache2 notes: http://stackoverflow.com/questions/12339044/how-to-run-multiple-sites-on-one-apache-instance http://stackoverflow.com/questions/11421468/virtualhost-multiple-sites-apache-linux-server http://httpd.apache.org/docs/2.2/vhosts/
1) HTTP or HTTPS and multiple public IP adresses - IP-based Virtual Host in Apache : http://httpd.apache.org/docs/2.2/vhosts/ip-based.html 2) HTTP and single public IP address - NameVirtualHost in Apache: http://httpd.apache.org/docs/2.2/vhosts/name-based.html 3) HTTPS and single public IP address - SNI : http://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI