问题
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