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

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

问题描述

我一直在尝试将我的流星应用程序部署到我的子域 (meteor.youhock.sg) 上,但它似乎不起作用.我已经尝试了他们的文档中所述的步骤,例如将子域 dns 区域设置为 origin.meteor.commrt 部署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

我错过了什么吗?

提前致谢

推荐答案

您只能使用 mrt deploy 到 *.meteor.com.如果您想继续使用他们的服务器,请对您托管的子域执行 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"?

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

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