Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Is the process of making a site content available on more than one URL, for instance, some content reachable on could be forwarded to and so it will be accessible on both web addresses.

This process has different names, but one of the most common ones is "masking" or "domain masking" since one of the domain names disappears behind the "virtual mask' of the second domain name.

The process of domain forwarding is simple, but involves two different domains, for instance, and; it works by allowing the content located on a specific combination of content on a server and hosted domain to be reachable from a second, different, domain name which has no content by itself.

Scenario 1 - From to

A persons decides to have a blog, but doesn't want to have the problems associated with setting the software, taking care of security, etc, so decides to use one of the public offers (free or paid) on a professional blog company, for instance,

After some time, this person decides to have a domain name registered, for instance, And he wants the content of the blog to be accessed on that address, but still doesn't want to have all the hassle involved with maintaining his website, he is happy with the services offered by, so he decides to set a domain forwarding from to

With the above arrangement, all the content is still on, so they take care of all the hardware and software maintenance. He can still reach the content on, edit it, add more pages, etc, and the users will type a much better looking and much more personal address,

Scenario 2 - From to

Other common scenario, with a very similar setting, is to avoid having URLs like without using any kind of server side redirection.

Both of the above scenarios combined are also a very common one.

Process of the domain forwarding


  • On
    • An account is created
    • Content is published
    • Content is reached using

Then is registered and ...

  • On hosting company
    • is hosted
    • A page with frames is created and one of the frames points to

This would be a common frame config for the above situation

<frameset rows="100%,*" border="0">
    <frame src="" frameborder="0" />
    <frame frameborder="0" noresize />