Custom Heroku domain

1. Add a custom domain

1
heroku domains:add coolname.com --app <HEROKU APP NAME>

2. Add DNS records

Go to your domain registrar and add the DNS record required by Heroku. For an apex domain, use an ALIAS or ANAME record for @ that points to the Heroku DNS target.

3. Enable SSL

Make sure SSL or Automated Certificate Management is enabled in the Heroku app settings.

4. Wait for DNS and certificate provisioning

Wait a few minutes for the DNS change and certificate provisioning to complete.