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:
- Set up my Cloud DNS:
A record for
NS records (generated by GCP) for named servers
SOA record (not sure what this is, but generated by GCP).
CNAME record for
- Set the custom named servers on Google Domains to the above
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.
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
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?