How to instantly redirect from one webpage to another

From steamWiki
Jump to: navigation, search

If you want to visit http://server and have it automatically, instantly, redirect (or forward) the user to http://newserver/new/destination run sudo nano /var/www/html/index.html on the http://server machine and enter the following into the file

<head>
        <meta http-equiv="refresh" content="0; url=http://newserver/new/destination/" />
</head>