How can I mask my domain?

Linode Staff

I want to mask my domain name using another name. What are my options?

1 Reply

Linode Staff

A relatively simple way to perform domain masking is to add the following code block to your index.html file for your site:

<title>Page Title</title>
<meta name=”description” content=”Description”>
<meta name=”keywords” content=”Keyword1, Keyword2″>
<frameset rows=”100%,0″ border=”0″>
<frame src=”” frameborder=”0″>
<frame frameborder=”0″>

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.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct