How can I mask my domain?
A relatively simple way to perform domain masking is to add the following code block to your
index.html file for your site:
<html> <head> <title>Page Title</title> <meta name=”description” content=”Description”> <meta name=”keywords” content=”Keyword1, Keyword2″> </head> <frameset rows=”100%,0″ border=”0″> <frame src=”http://alternatedomain.com” frameborder=”0″> <frame frameborder=”0″> </frameset> </html>
This creates a frame embedded in your main site that points to your alternate site. You could instead use a feature like mod_rewrite on Apache. If you're using Apache, we have a great Linode Community post here that explains how to get started with mod_rewrite. Nginx has a similar guide available here. You also may be able to make use of CNAME records.