开发者

Deploying to Heroku with custom domain [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

I have run the app from from the My-app.heroku.com and it works, and I have set up the DNS between my domain but whenever I ope开发者_开发技巧n my app from the domain I have specified, heroku says "Refer to the documentation if you need help deploying."

I've looked at the documentation a few times but I don't get it.

What step am I missing?


Have you added the custom_domain add-on?

heroku addons:add custom_domains

Then tell heroku what domain you want

heroku domains:add www.yoursite.com
heroku domains:add yoursite.com

You said you already handled the DNS steps, so once you run those commands, you should be good to go.

I believe the relevant documentation is here: http://devcenter.heroku.com/articles/custom-domains

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜