Many infrastructure configurations require a fully qualified domain name to set up. How do we set an FQDN on google compute instances? FQDN that can be used internally within the VPC and / or FQDN that can be used externally
Asked
Active
Viewed 1,963 times
2
-
Is this what you are looking for? https://stackoverflow.com/questions/27041837/point-domain-name-to-google-compute-engine – Dagang Sep 09 '17 at 21:29
1 Answers
0
Here is a documents that explain how the FQDN works in an instance of compute engine.
Maybe this solution fit your needs:
# edit the hosts file and add your FQDN
$ sudo vi /etc/hosts
# prevent the overwrite
$ sudo +i chattr -i /etc/hosts
Also you can use Google Cloud DNS and use it as internal DNS by editing the resolv.conf file

miguelfrancisco85
- 544
- 2
- 10