Deploy meteor to own domain

 ̄綄美尐妖づ 提交于 2019-12-28 13:37:39

问题


I've been trying to deploy my meteor app onto my subdomain (meteor.youhock.sg) but it doesn't seem to be working. I've tried the steps stated on their documentations such as setting up subdomain dns zone to origin.meteor.com and mrt deploy meteor.youhock.sg

Am I missing something?

Thanks in advance


回答1:


You can only use mrt deploy onto *.meteor.com. If you want to continue using their servers, do a CNAME to the subdomain you hosted. From the docs:

You can deploy to any available name under meteor.com without any additional configuration, for example, myapp.meteor.com. If you deploy to a custom domain, such as myapp.mydomain.com, then you'll need to make sure the DNS for that domain is configured to point at origin.meteor.com.

Or use a script like meteoric.sh to deploy in your own linux server: https://github.com/julien-c/meteoric.sh

EDIT: You need to point A to 107.22.210.133 according to Meteor.js deploy to "example.com" or "www.example.com"?



来源:https://stackoverflow.com/questions/16975690/deploy-meteor-to-own-domain

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!