This is the new server!"; $baseurl=$_SERVER['SERVER_NAME']; echo "You're accessing: " . $baseurl . "
"; echo "This server's Ip: " . $_SERVER['SERVER_ADDR'] . "
"; echo "This server's hostname: "; if (function_exists('gethostname')) { echo gethostname() ; } else { //for php < 5.3 echo php_uname('n'); } echo "

"; echo "This page is unique to the destination of your migration. If you are seeing it, you have correctly modified your hosts file, and are ready to test this domain on the target server.

"; //get baseurl to direct customer to testing info echo "Test this domain here: " . $baseurl . ""; ?>