Do you want to point your domain to a different domain, but in such a way that your domain appears always in the address bar of the visitor’s browser?
This is very useful when someone wants to point a domain to a free hosted application. Example: you build a website in a free hosting service or a free website builder service. And the website is hosted in a subdomain of that free service. And you don’t want your visitors to access that subdomain. You want them to access your domain instead.
It only applies if you have a hosting service. If you don’t, ask your domain registrar to point the domain to whatever url you want the domain to point to. Ask them to add a mask to the domain forward, so that the your domain remains always in the visitor’s address bar. In case you do have a hosting account, here’s how you can do that redirection. It’s called a Domain Iframe Redirect.
Upload an index.html with this code:
<html>
<head>
<title>Replace with title visitors will see if browser doesn't support javascript</title>
<script type="text/javascript">
function changeTitle()
{
if (top.frames['main'].document.title)
{
top.document.title=top.frames['main'].document.title;
}
}
</script>
</head>
<frameset>
<frame name="main" src="http://replace-this-url.destination-domain.com"scrolling="auto" target="main" ONLOAD="changeTitle();">
<noframes>
<body>
Please enable iframe support in your browser to access this website.
</body>
</noframes>
</frameset>
</html>
Read the comments in the code. Replace what needs to be replaced. And you’re ready to go!