将流星部署到自己的域 [英] Deploy meteor to own domain

查看:69
本文介绍了将流星部署到自己的域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图将流星应用程序部署到我的子域(meteor.youhock.sg),但似乎无法正常工作. 我已经尝试了他们的文档中所述的步骤,例如将子域dns区域设置为origin.meteor.commrt deploy meteor.youhock.sg

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

我想念什么吗?

预先感谢

推荐答案

您只能在* .meteor.com上使用mrt部署.如果要继续使用他们的服务器,请对您托管的子域执行CNAME操作. 从文档中:

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:

您可以在meteor.com下部署到任何可用的名称,而无需任何其他配置,例如myapp.meteor.com.如果部署到自定义域(例如myapp.mydomain.com),则需要确保该域的DNS配置为指向origin.meteor.com.

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.

或使用meteoric.sh之类的脚本在您自己的linux服务器中进行部署: https://github.com/julien-c/meteoric.sh

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

您需要将A指向107.22.210.133 根据 Meteor.js部署到"example.com" ;或"www.example.com"?

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

这篇关于将流星部署到自己的域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆