I have a php script at www.domain1.com/index.php When someone goes to www.domain2.com/index.php I want the domain1.com/index.php script loaded. I do not want it forwarded...I want it to be transparent that domain1.com even exists. Is this possible with htaccess? If so, how? THANKS
Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.domain1.com/$1 [R=301,L] Put that code in ur domain2 .htaccess
Open index.php of www.domain2.com and inside write <? include("http://www.domain1.com/index.php"); exit; ?> Code (markup): Make sure your host allows remote files include.