Hi,
I have 2 domains on my server www.a.com und www.b.com I would like to send users entering a.com to send to another page than b.com
I tried
$arg=$_SERVER["REQUEST_URI"]
if($arg == "a.com")
{
include("xyz.php");
}
if($arg == "b.com")
{
include("abc.php");
}
I also tried HTTP_HOST instead both did not work. right now both URLs link to the primary domain.
Thanks ili