Most decent hosts have got PHP, just put something like this at the start of the index.php file (not tested) :
Quote:
<?php
$entrydomain = getenv("HTTP_REFERER");
if ($entrydomain = "www.companyonline.com")
{
header("Location: http://www.company.com/site1/");
}
else
{
header("Location: http://www.company.com/site2/");
}
?>
|