How to configure heroku application DNS to Godaddy Domain?

后端 未结 6 2053
别跟我提以往
别跟我提以往 2020-11-30 16:35

I have created a heroku application and wants to give domain to it from godaddy.com.

I have configured all three hosts provided by heroku but now I am getting error

6条回答
  •  Happy的楠姐
    2020-11-30 17:11

    I pointed the non-www to 54.243.64.13 and the www.domain.com to the alias.herokuapp.com and all worked nicely.

    Found the IP only after pointing www.domain.com and then running the dig command on the www.domain.com and it showed:

    ;; ANSWER SECTION:
    www.domain.com. 14400  IN      CNAME   aliasat.herokuapp.com.
    aliasat.herokuapp.com. 300 IN CNAME us-east-1-a.route.herokuapp.com.
    us-east-1-a.route.herokuapp.com. 60 IN  A       54.235.186.37
    
    ;; AUTHORITY SECTION:
    herokuapp.com.          900     IN      NS      ns-1378.awsdns-44.org.
    herokuapp.com.          900     IN      NS      ns-1624.awsdns-11.co.uk.
    herokuapp.com.          900     IN      NS      ns-505.awsdns-63.com.
    herokuapp.com.          900     IN      NS      ns-662.awsdns-18.net.
    

    May not be ideal but worked.

提交回复
热议问题