Does Heroku support domain masking?

Issue

I have setup domain masking with my DNS provider, but the website doesn't load.

Resolution

Domain masking is a technique that some DNS providers offer that hides the real address of the website being access. E.g., Using domain masking, when browsing to http://yourdomainname.com, the DNS provider creates a page that, using HTML Framesets, frames your application from http://yourapplication.herokuapp.com.

  • The user sees pages from your application, but by using the herokuapp.com domain to get these pages.
  • Put simply, the real domain, yourapplication.herokuapp.com has been masked to make it look like http://yourdomainname.com.

This is an inherently insecure approach to DNS, and most modern browsers will refuse to show any framed pages from a different domain.

We don't recommend using domain masking for this reason. Instead, we recommend setting up your DNS to use a CNAME for your domain. You can read more about this here: Custom Domain Names for Apps

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support