【问题标题】:Google Cloud VPS Compute Engine without a Domain没有域的 Google Cloud VPS 计算引擎
【发布时间】:2020-03-11 22:01:40
【问题描述】:

我有一个带有 Google Cloud Compute Engine 的 VPS,我可以通过外部 IP 访问它。在我的外部 IP 旁边,我可以通过以下方式访问我的 VPS:122.xx.xx.34.bc.googleusercontent.com

Google 是否还提供通过 NAME.bc.googleusercontent.com 或 IP 以外的其他方式访问您的网站的选项。

我不想使用廉价域名或免费域名作为 .tk

【问题讨论】:

    标签: google-compute-engine


    【解决方案1】:

    您可以使用任何域名访问您在 Google Compute Engine 上运行的 VM 实例。要做到这一点,请按照以下步骤操作:

    1. 在任意domain name registrar注册域名
    2. 为您的域名设置 DNS 服务器(通常是由domain name registrar 提供的DNS hosting 服务)
    3. reserve external static IP 用于您的 VM(可选,但可能会有所帮助)
    4. create A record 指向你的虚拟机的外部 IP
    5. 等待 24-72 小时为propagating domain names
    6. 通过https://domain.name等域名联系您

    此外,您可以在Google Domains 注册您的域名,并使用Google Cloud DNS 作为您域的DNS 服务。

    您无法使用NAME.bc.googleusercontent.com,因为122.xx.xx.34.bc.googleusercontent.comPTR record

    【讨论】:

    • 这不是我要寻找的答案。当然,我知道我可以使用任何域,这不是我的问题。云提供商通常使用内部子域通过子域而不是 IP 访问您的 VPS,我的问题是如何在我的 google cloud vps 中找到子域。
    • Google Cloud 不提供此类子域。因此,您可以使用外部 IP 地址或您自己的域。
    • 此外,您可以在 Google 问题跟踪器issuetracker.google.com/issues/… 上申请此类功能
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-12-10
    • 2016-10-09
    • 2018-02-23
    • 2021-01-12
    相关资源
    最近更新 更多