This article explains how to create a masked redirect of a domain name.
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.
Steps
- Create an index.html file
- Add this code to it:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<head>
</head>
<frameset rows="100%,*" border="0">
<frame name="__main" src="http://www.anothersite.com/folder/"
noresize frameborder="0">
<noframes>
<h2>Your Web browser does not support frames</h2>
<p>
Please click the link to visit
<a href="http://www.anothersite.com/folder/">http://www.anothersite.com/folder/</a>
directly.
</p>
</noframes>
</frameset>
</html>
- Upload this file to your web root (e.g. public_html , wwwroot etc.) folder.
- The redirect should work immediately
Comments
0 comments
Article is closed for comments.