redirection domain masking

How can one redirect a domain without changing the URL?

Here is what you’re looking for – Domain Masking

Domain masking allows you to show one URL in the browser’s address bar while another website’s content is shown.

For example: when someone visits your website (For eg, a free hosted website that does not allow you to use your own domain name), you can have (the domain you register elsewhere) shown in the browser’s address bar while loading the website content of

Why Domain Masking?

There are a few reasons why one wants to redirect his/her website visitors to another website without displaying the destination website address. 

One of the reasons is:

When you have an existing website that is hosted free (like a blog from or, and you are not ready to pay for website hosting yet.

In this case, you can just register a new domain name, and set up domain masking so that will appear on the website address bar on the browser when someone visits your free hosted website.

Here are the steps to mask your Domain Name/URL:

Step 1

Log in to cPanel and look under “File Manager”.

cPanel - File Manager

Step 2

Locate “public_html” 

File Manager - public_html

Step 3

Look for the file named “index.html/index.php”. Otherwise, create a new one by Clicking on +File on the upper left.

Step 4:

Right click the index.html/index.php file and select edit.


Step 5

You may select and use the “Use Code Editor” to have a better view on code.

Use Code Editor

Step 6

Edit the Code below and paste to index.php/index/html

<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″>

Step 7

Remember to “Save Change”.

Step 8

Done! Test your Now.


We hope you find this blog post useful. Do let us know if you have any difficulty in following the steps, and we will be glad to provide assistance.

Still looking for the best domain name to apply your domain masking? Choose YOUR DOMAIN NAME before it’s too late!

See you in the next post.