Mapping heroku address to

You can map your own domain name(say, to the subdomain( for your project running on heroku cloud.

Create domain mapping in heroku

The new domain is setup to open up on the custom domain. The URL shown would be of which internally points to heroku subdomain. Add domain mapping through app settings in heroku dashboard. add domain mapping added domain mapping

Create CNAME record in domain DNS configuration

Create CNAME record through dns management feature provided by the hosting provider. This create a alias for your domain, so that any request on the would be fetched by heroku subdomain. Also, URL shown to user would be of Here we create a record whose value equals the heroku subdomain( we have to map to our domain.

Setup non-www domain

Add naked domain redirect, to redirect to domain config