Skip to content

Instantly share code, notes, and snippets.

@chand
Last active June 13, 2021 00:27
Show Gist options
  • Save chand/b848cb51d512148fd30e06f3f64c9a74 to your computer and use it in GitHub Desktop.
Save chand/b848cb51d512148fd30e06f3f64c9a74 to your computer and use it in GitHub Desktop.
Pointing a Custom Go Daddy Domain to Heroku App

Pointing a Custom Go Daddy Domain to Heroku App

In your GoDaddy Account

  1. Go to "Manage my Domains"

  2. Find your domain name and on the sprocket icon drop down menu, select "Manage DNS"

  3. 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
  1. 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 Console

  1. In the project directory, on the master branch:
heroku domains:add www.customdomainname.org

and

heroku domains:add customdomainname.org
  1. To check to see if this is done correctly:
heroku domains
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment