Skip to content

Instantly share code, notes, and snippets.

@kannans
Last active May 29, 2017 15:28
Show Gist options
  • Save kannans/5a914eca6494d2318edb8d530fd2637d to your computer and use it in GitHub Desktop.
Save kannans/5a914eca6494d2318edb8d530fd2637d to your computer and use it in GitHub Desktop.
How to configure godday domain with heroku app. Just a simple

Heroku

If you already have heroku account login to account settings. Unfortunatly you need to verify you account with credicard (no charges). I just a verification. Once the account verified, navigate to app settings which you have example.herokuapp.com Click on add domain and enter the following items one by one

*.example.com
http://example.com
www.example.com

Save all the items. That's it!

Get you heroku app IP

Open your termial and type the following command

dig example.herokuapp.com

You can able to see there is an IP present at the right side. Copy that IP

ie. us-east-1-a.route.herokuapp.com. 59 IN A 54.243.91.79

Godday

Buy a desired domain from godday www.example.com

Click on manage DNS and set the copied IP on A record.

Static godday IP already maped with the A record. Edit the A record and past the copied ip.

Wait for few min.

Start browsing with your domain!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment