Loading...

Knowledge Base

Domain Forwarding with URL Masking does not work for some websites

URL Masking is a feature that allows you to retain your domain name in the browser's address bar while forwarding to another domain or URL. This is achieved by making use of HTML frames in the top page hosted on your domain. 

In other words, your domain name does not actually get forwarded. Instead, it loads a local HTML page from the domain forwarding server which contains a frameset and the destination page is displayed within that frame.  

You can read more about Framing on Wikipedia:

https://en.wikipedia.org/wiki/Framing_(World_Wide_Web)  

Certain websites are designed not to show content in frame. This is because Clickjacking attacks and defenses like X-Frame-options, which are rising in popularity, are preventing iframes from being a valid way to display content. 

Many online service providers have also implemented their own defenses to "Clickjacking" attacks within their native UI. Due to this, the iFraming of some external websites may no longer be possible.

When you iframe one such website which has been designed to not show any content in a frame, you would end up seeing a blank page. The exact error message can be seen if you access the site using Microsoft Internet Explorer or Microsoft Edge on Windows 10.  

Error message on Microsoft Edge 

Error: "This content cannot be displayed in a frame" or Blank page  

This is not really an issue with the domain forwarding system, it is just that the destination site refuses to serve and content with its URL masked. You must disable URL masking for it to work.  

If you specifically want the browser to retain your domain name, then please ask your hosting provider to add your domain name as an alias domain for your website and point the DNS of your domain directly to the webserver by either changing its name servers or modifying the A records in the current zone.  

Troubleshooting Steps 

  1. Check if the destination site uses X-Frame-options. 

  1. Try disabling URL masking. 

  1. Contact your hosting provider for alias domain setup. 

 

Loading...