I have uploaded a website to my Compute Engine instance and I wanted to set the registrar to send the visitors to the server (Compute Engine).
Where can I get the name servers of my instance/server over Compute Engine?
Go to Accounts -> Details. Head over to the Nameservers section and note all of the nameservers' details.
Replace those addresses with the IP addresses of the Google DNS servers: For IPv4: 8.8.8.8 and/or 8.8.4.4 . For IPv6: 2001:4860:4860::8888 and/or 2001:4860:4860::8844 . For IPv6-only: you can use Google Public DNS64 instead of the IPv6 addresses in the previous point.
Google Compute Engine does not provide a nameserver on the public internet. (It does provide a nameserver for the internal network which is private to your project, this allows you to connect to instances via their instance names rather than IP.)
If you want your instances to be available via public internet DNS nameservers, you'll need an external nameserver and one or more static IP addresses for your instances.
You have two options for static IP addresses on Compute Engine: You can have a static address for a single instance, or for the GCE Load Balancer.
See this documentation for how to configure a static IP address for an instance.
Using the Load Balancer is more flexible. See this documentation for details on Load Balancing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With