Overview: you have PHP hosting and want to redirect all traffic to another website.


  • Create a text file and paste in the following content:

    <?php header( 'Location: http://www.NEWWEBSITEADDRESS.com' ); ?>

     

  • Save the file as index.php
  • Upload the file using FTP to your existing PHP website
  • Ensure that any existing DNS zone records for WWW, @ and * point to your existing PHP website


Any traffic hitting your existing PHP website will be forwarded to the new website