部署到Heroku与自定义域 [英] Deploying to Heroku with custom domain
问题描述
我已经看了几次文档,但我没有得到它。
我缺少什么步骤?
您是否添加了custom_domain加载项? >
heroku addons:添加custom_domains
然后告诉heroku你想要什么域名
英雄域名:添加www.yoursite.com
heroku域名:add yoursite.com
你说你已经处理了DNS步骤,所以一旦你运行这些命令你应该很好去。
我相信相关文档在这里: http://devcenter.heroku.c om / articles / custom-domains
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 open 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
这篇关于部署到Heroku与自定义域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!