February 18th, 2005

Secrets of Using Domain Masking with Free Web Hosting



When you register a domain name, several domain registrars give you an option of domain name forwarding and domain name masking. If used correctly, they are powerful tools to control your domain names.

Domain name forwarding

Domain name forwarding simply redirects you to a site you define i.e. if you have a previously hosted site, it redirects users who typed your domain name (www.yourname.com) to your hosted site (lets say www.geocities.com/yourname). So you just pay for the domain. But it shows clearly that the url redirected from www.yourname.com to www.geocities.com/yourname.

Domain name masking

Here comes in domain masking. Once you are redirected to your already hosted site, the domain name still keeps on showing www.yourname.com in the url bar inspite of whichever url you are on. So you can show your professional looking domain name while free web hosting elsewhere. So domain masking is really useful. So look for a registrar who provides free domain masking along with your domain name.

Now telling you how it is done. A look at the source code of the domain name page will show -

<html>
<head>
<title>yourname</title>
<meta name="description" content="your description">
<meta name="keywords" content="keyword1, keyword2">
</head>
<frameset rows="100%,0" border="0">
<frame src="http://yourforwardingurl" frameborder="0">
<frame frameborder="0">
</frameset>
</html>

When you register for domain masking , you will be asked to fill in data for 3 tags which show in the source code i.e. title of site. description of site and revelvant keywords.

<title>yourname</title>
<meta name="description" content="your description">
<meta name="keywords" content="keyword1, keyword2">

This shows as your sites details when indexed by search engines, when someone bookmarks it and of course in the browsers title.

The basic principle here is frames!
A quick look at the souce code will reveal

<frameset rows="100%,0" border="0">
<frame src="http://yourforwardingurl" frameborder="0">
<frame frameborder="0">
</frameset>

This means that the domain name registrar creates a html page with 2 frames. The top frame is 100% of the window i.e. it will fill the whole screen with your site. Since the frameborder is 0 - you see no border between these frames. Noresize means even if you try, you cannot try to expand the lower frame. So you can mask any page in this way!

Knowing this is also significant if you use advertising programs like Google Adsense where ads may not be targeted properly unless you check the ‘framed page’ box to get ads code (update: now no longer required as Adsense is smarter!).

So buy a low cost domain, and without web hosting, simply use domain name forwading!

Bookmark this article on   Del.icio.us or Stumbleupon or Digg or Fark
Continue getting our new articles by RSS or email

Related articles
Godaddy Cheap Domain Names at $1.99
Blogger Asks Features and Suggestions
Domain Brokers : Buy Registered Domains You Always Wanted
GoDaddy Free Ad Supported Web Hosting with Domain Names
PostSecret: Tell Secrets on Postcards Anonymously

Comments

RSS feed for comments on this post.
  • 1. Bone | 16/04/05  #

    Now that is helpful, thanks a lot.

  • 2. colin | 6/05/05  #

    couldn’t you do this yourself, without paying extra for a domain masking feature?

  • 3. Quick Online Tips | 6/05/05  #

    You can mask any site yourself by this method. You dont need to pay extra for domain masking - it comes free. See my tips for buying a domain name.

  • 4. lucas | 24/06/05  #

    just gettin my head around this. i am using the forwarding/masking you talk about (see http://www.notsusan.com) but it annoys me because no matter what page you are in within the website, it always just displays that generic url, and not http://www.notsusan.com/somepage for instance. surely this is not very useful if a visitor to the site wants to send a link to a specific page, and not just to the site index page? any tips? (i’m not using frames in my site).

  • 5. userbob23 | 3/12/05  #

    I set-up a folder using my domain (”bob.net”) with a mask of “bill.net,and searched google and it sent me to the page but the address bar showed bob.net/bill/index.html
    What am I doing wrong here!

  • 6. Nikki Rose Ty | 19/01/07  #

    Why, thank you. I’m doing that now.

  • 7. Maurice | 15/09/07  #

    sounds like a good idea. then again, package deals with hosting can sometimes be even cheaper than the domain by itself. i just discovered a site that offers hosting, no ads, ftp, & a domain with 10 subdomains for $12 a year. i think that’s less than or equal to the average price of a domain by itself. it’s also sooo much simpler. the method i found most effective: google search for something like “$1 web hosting.”

  • 8. Jon | 24/11/07  #

    This is great, worked like a charm! Kind of curious about whether or not you can add a pop up to a masked domain.

Articles Linking Here


Comment on “Secrets of Using Domain Masking with Free Web Hosting”