大网数据广告活动
服务器运维问答

Setup Google Domain with Google Compute Engine?

· 52CE 我爱测

So I've recently bought a domain name from Google Domains, and have set up a virtual machine from the ASP.NET template available on Google Cloud Platform. I went through the tutorial on setting up Cloud DNS and setting my name se…

问题原文

原帖链接 · Taco · CC BY-SA 4.0

So I've recently bought a domain name from Google Domains, and have set up a virtual machine from the ASP.NET template available on Google Cloud Platform. I went through the tutorial on setting up Cloud DNS and setting my name servers on Google Domains and I believe I've done everything correctly.

I have already:

  • Reserved my static external IP: 35.208.136.38.
  • Set up my Cloud DNS:
    • A record for polytide.net.
    • NS records (generated by GCP) for named servers ns-cloud-e[n].googledomains.com.
    • SOA record (not sure what this is, but generated by GCP).
    • CNAME record for www.polytide.net.
  • Set the custom named servers on Google Domains to the above NS records.

I've performed a DNS Query and everything seems to be working; however, I can only access my website via external IP. I've tried pinging both the domain name and the external IP and only the IP returns a result. When trying to access my website via domain name I get the following error:

polytide.net's server IP address could not be found.

DNS_PROBE_FINISHED_NXDOMAIN

I feel like I'm missing a critical point and I'm at a standstill. Also, not sure if this is important, but the VM doesn't have the firewall boxes checked for HTTP or HTTPS. I did check these boxes in an attempt to fix the issue, but it didn't work, so I unchecked them since that was the default that the template used.

How can I setup my Google Compute Engine website to utilize my Google Domain?

已采纳解答

原帖链接 · Matt Zimmerman · CC BY-SA 4.0

It looks like everything is set up correctly, and I can access your website OK from here (it shows an "Under Construction" page).

Most likely, the NXDOMAIN result was cached in your local DNS server, or your ISP's DNS server, or your web browser. It will eventually expire and things will work for you. See How long does negative DNS caching typically last? for more information.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-08-17)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。