Deploy meteor to own domain

2019-01-18 00:42发布

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条回答
forever°为你锁心
2楼-- · 2019-01-18 01:05

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"?

查看更多
登录 后发表回答