google-app-engine - Google App Engine 上的不同项目具有相同的 dns 记录
问题描述
我在 Google App Engine 中有两个项目,我有自己的域,我想从中访问它们。我已将自定义域添加到每个项目,但发现 Google App Engine 提供的 dns 记录完全相同,因此我的两个不同域(例如:abc.com、xyz.com)的域现在都连接到同一个网站。
解决方案
Technically all GAE apps are mapped from the DNS perspective to the same ingress infrastructure via either appspot.com
or, for custom domains, ghs.googlehosted.com
, so it is expected for their IP addresses to fall into a very small range (4 addresses presently).
Serving a particular GAE app is done by extracting the app id from the appspot. com
subdomain or from the configured custom domain mapping.
If you unexpectedly see a different app and you want help debugging you need to provide details about your app's environment and configuration.
推荐阅读
- socket.io - 使用 socket.io 时如何获取房间内的客户端数量?
- java - Flink集群写入mysql数据丢失
- javascript - 如何在 Sequelize 上使用关联进行多重插入?
- python-3.x - Selenium Chromedriver 在谷歌云服务器上不起作用
- html - 如何将传入的文本隐藏到密码?
- php - Heliohost网站部署问题。不重定向
- image - 如何在颤动中重命名 image_picker 中的pickfile?
- google-cloud-platform - Dataflow作业成功后如何执行云函数?
- c - 最小值无法识别
- xml - 具有两个元素的两个属性的 XSD 唯一约束不起作用