How to configure heroku application DNS to Godaddy Domain?

后端 未结 6 2066
别跟我提以往
别跟我提以往 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条回答
  •  孤街浪徒
    2020-11-30 17:15

    I used this videocast to set up my GoDaddy domain with Heroku, and it worked perfectly. Very clear and well explained.

    Note: Skip the part about CNAME yourdomain.com. (note the .) and the heroku addons:add "custom domains"

    http://blog.heroku.com/archives/2009/10/7/heroku_casts_setting_up_custom_domains/


    To summarize the video:

    1) on GoDaddy and create a CNAME with

    Alias Name: www
    Host Name: proxy.heroku.com
    

    2) check that your domain has propagated by typing host www.yourdomain.com on the command line

    3) run heroku domains:add www.yourdomain.com

    4) run heroku domains:add yourdomain.com

    It worked for me after these steps. Hope it works for you too!

    UPDATE: things have changed, check out this post Heroku/GoDaddy: send naked domain to www

提交回复
热议问题