-
Go to "Manage my Domains"
-
Find your domain name and on the sprocket icon drop down menu, select "Manage DNS"
-
Under Records, add/change the following
Add >
Type: CNAME
Host: *
Points to: appname.herokuapp.com
TTL: 1 hour
Add >
Type: CNAME
Host: appnamesecure (ie flipflopappsecure)
Points to: appname-2121.herokussl.com
TTL: 1 hour
DELETE THE WWWW ???
Add (or edit if the 'www' exists in the list already) >
Type: CNAME
Host: www
Points to: appname.herokuapp.com
TTL: 1 hour
- Scroll down, and under Forwarding, under Domain:
Forward To => appname.herokuapp.com
Forward Type => Permanent
Settings => Forward with masking
Masking information => optional
Make sure you SELECT the checkbox that says "Update my nameservers and DNS settings to support this change."
Save
This will take 1 - 48 hours to propagate
- In the project directory, on the master branch:
heroku domains:add www.customdomainname.org
and
heroku domains:add customdomainname.org
- To check to see if this is done correctly:
heroku domains