将App Engine部署到非project_id.appspot.com的位置。

huangapple go评论96阅读模式
英文:

App Engine deploy to somewhere that is not project_id.appspot.com

问题

根据标题所说,我正在尝试将项目部署到App Engine,但每次尝试时都会显示部署到project_id.appspot.com。

我最近将域名从原始注册商转移到了Google Domains,我应该如何将其部署到我的域名而不是project_id.appspot.com,因为没有人会去那里访问?我已经在这个项目上工作了几个月,需要在接下来的几周内上线,以便在月底之前完成。

英文:

Exactly as title says, am trying to deploy project to App Engine but whenever try always says deploying to project_id.appspot.com

I have domain recently transferred from original registrar to Google Domains, how deploy to my domain instead of project_id.appspot.com because nobody will go there? I have been working for months on project and need to get online within next couple of weeks before end of month

答案1

得分: 2

你需要设置你的域名将流量定向到 appspot 的位置,而不是将代码“部署到”你的域名。

https://cloud.google.com/appengine/docs/standard/go/using-custom-domains-and-ssl#adding_a_custom_domain_for_your_application

英文:

You need to set up your domain to direct traffic to the appspot location, rather than deploy the code "to" your domain.

https://cloud.google.com/appengine/docs/standard/go/using-custom-domains-and-ssl#adding_a_custom_domain_for_your_application

huangapple
  • 本文由 发表于 2017年8月3日 04:41:49
  • 转载请务必保留本文链接:https://go.coder-hub.com/45470637.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定