This article explains how to create a masked redirect of a domain name.
If you are using cp.blacknight.com you can setup a frame forward for your domain name under:
All Domains > domain name > Web > Change Hosting (under the Web hosting section)
And select frame forwarding. This will enable you to redirect www.example.com as outlined below.
E.g. you want to redirect www.example.com to www.anothersite.com/folder/ When the redirect happens, you want www.example.com to remain in the address bar.
Note: The above change of changing the hosting for a domain like this irreversibly removes any Applications you may have installed on the domain using our Application vault, along with their files and database.
- Create an index.html file
- Add this code to it:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
<frameset rows="100%,*" border="0">
<frame name="__main" src="http://www.anothersite.com/folder/"
<h2>Your Web browser does not support frames</h2>
Please click the link to visit
- Upload this file to your web root (e.g. public_html , wwwroot etc.) folder.
- The redirect should work immediately
Article is closed for comments.