tusharmath
tusharmath

Reputation: 10982

link a Custom domain to a Heroku app

I have set up my application on Heroku. I have also bought a domain name 'tusharm.com' from crazydomains.com I have updated the name servers also on crazydomains.com using Zerigo Dns Addon.

The problem is that when I hit - tusharm.com I get a page from crazydomains.com. My actual application is staticsite-dev.herokuapp.com

Also I observed that I was getting the following warning when I ran the Production Check.

Warning 
DNS configuration
Your DNS is not configured correctly. Your domain tusharm.com's CNAME record should point to staticsite-dev.herokuapp.com.

Please help! I dont want the money to go wasted for which I bought the domain name.

EDIT:

Snapshot of nameservers on Crazydomains.

enter image description here

Upvotes: 3

Views: 4589

Answers (1)

NilsH
NilsH

Reputation: 13821

As the warning says, you have to set up the dns for your domain so that you have a CNAME record pointing to your heroku app. This is done with your domain registrar, and the process is different from registrar to registrar. Contact support for your registrar, and they will probably be able to assist you.

If you have updated your nameservers already, it might take a few days before the change is reflected.

Edit

Also, if you want to be able to use a "naked" domain (without a subdomain, e.g mydomain.com, you have to use a registrar that supports an ALIAS record type. Otherwise you would have to use www.yourdomain.com. Read about it here and here

Edit 2

If you're using an heroku addon, then everything should be handled, and you probably just have to wait.

Upvotes: 3

Related Questions