且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我可以使用Heroku在自定义域的路径上托管Web应用程序吗?

更新时间:2022-06-24 06:16:56

简短答案:是.此处有一篇文章介绍了如何执行此操作: https://devcenter.heroku.com/articles/自定义域.基本上,您需要将自定义域添加到heroku(在仪表板中:设置->域),然后重新配置目标域的DNS,以便它将解析为您的heroku应用.

Short answer: Yes. There is an article explaining how to do this here: https://devcenter.heroku.com/articles/custom-domains . Basically, you need to add the custom domain to heroku (in the dashboard: settings -> domains) and reconfigure the DNS of the target domain so that it will resolve to your heroku app.