Heroku Custom Domain with Godaddy


Step 1. Get the value of CNAME from Heroku

  1. login Heroku
  2. Choose Settings
  3. Pull down to the Domains area
  4. Click Add Domain
  5. Enter my domain name (already purchased) — www.xxxxx.com and press Next
  6. Wait for ACM Status to become OK
  7. Click Edit to copy the value of DNS target

Step 2: Set up on Godaddy DNS

  1. To DNS settings
  2. Find my website xxxxx.com and click edit
  3. or If it is a subdomain, add CNAME to the Record record, enter the subdomain name in the host
  4. Paste the value of DNS target obtained from heroku
  5. Choose how long TTL will take effect
  6. Press Save, it will be available after a while

Test, try playing www.xxxxx.com

If you want to use the Heroku SSL function, you must first upgrade to the lowest paid account (At the time of writing in July 2020, Heroku price is $7 per dyno per month)

Written by

撰寫任何事情,O型水瓶混魔羯,咖啡愛好者,Full stack/blockchain developer,Founder of Blockchain&Dapps meetup and DeFi-Decentralized-Finance-SG meetup,Udemy teacher。

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store