http://blog.9cbs.net/ouland/archive/2005/03/17/321961.aspx
$ Site_Matrix = Array ("$ Site1" => "$ PATE2" => "$ PATE2"); $ DEF_PG = "$ DEF_PATH"; $ server = $ _server ["http_host"]; $ PG = $ Site_Matrix [$ Server]; if ($ PG == ") $ PG = $ DEF_PG; Header (" Location: $ PG "); so you can use two domains at the same time on a virtual host.