1

Redirect subdomain to another website on a single IP virtualhost setup

view story
linux-howto

http://serverfault.com – I apologize if this has been asked before, but I've looked at a number of questions here and none of them seem to answer my question. I have a series of domains all pointing to my server. For each one I have set it's IP record and configured a VirtualHost in http.conf correctly as follows: # example.com <VirtualHost *:80> DocumentRoot /path/to/example ServerName example.com ServerAlias example.com ServerAlias www.example.com </VirtualHost> # other.com <VirtualHost *:80> DocumentRoot /path/to/other ServerName other.com ServerAlias other.com (HowTos)