How to configure heroku application DNS to Godaddy Domain?

后端 未结 6 2055
别跟我提以往
别跟我提以往 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:11

    There are 2 steps you need to perform,

    1. Add the custom domains addon and add the domain your going to use, eg www.mywebsite.com to your application
    2. Go to your domain registrar control panel and set www.mywebsite.com to be a CNAME entry to yourapp.herokuapp.com assuming you are using the CEDAR stack.
    3. There is a third step if you want to use a naked domain, eg mywebsite.com when you would have to add the IP addresses of the Heroku load balancers to your DNS for mywebsite.com

    You can read more about this at http://devcenter.heroku.com/articles/custom-domains

    At a guess you've missed out the first step perhaps?

    UPDATE: Following the announcement of Bamboo's EOL proxy.heroku.com being retired (September 2014) for Bamboo applications so these should also now use the yourapp.herokuapp.com mapping now as well.

提交回复
热议问题