How to do URL masking?

Pick Language to Auto Translate:
AR | BG | CA | CS | DA | DE | EL | ES | FI | FR | HI | HR | ID | IT | IW | JA | KO | LT | LV | NL | NO | PL | PT | RO | RU | SK | SR | SL | SV | TL | UK | VI | ZH | ZH-TW

There are many URL masking services which let you have a shorter URL to a site that has longer URL or you just want to have a site that has a nice domain name that shows the content of an older site but still shows the domain name in the browser of your choice. That is the magic of URL masking but it is really simple!
How to do URL masking?

You have a long site URL but want to use a shorter URL, how is it done?

It is using the HTML frame to mask the destination URL and keep the originate URL in the browser.

You would create a site with a short URL and on that site, you create an index.html that contains the HTML code as shown below.

Here is the HTML code that makes the URL masking work!


< iframe
src="http://yoursite.com"
frameborder="0"
width="800"
height="2500"
scrolling="no">

Note: the above "frame src" use either the domain name or your IP address for your site.