Sub Domain Setup in GCP

344 views
Skip to first unread message

Rohit Passi

unread,
Jun 13, 2017, 9:06:01 AM6/13/17
to gce-discussion
Hi All,

I have below use case and need some advise. 

I have setup my VPC in google cloud.

I have 5 compute engines created. 

I want to assign them below hostname


Pls let me know if this is possible? How to do if possible. 

Rohit

Carlos (Cloud Platform Support)

unread,
Jun 13, 2017, 3:04:21 PM6/13/17
to gce-dis...@googlegroups.com

Hi Rohit,

You need to create an A record for every subdomain in your DNS.  This article has similar example but the A record is created using the root domain.

In your case it would look like this

mail.mydomain.com   13999   IN      A      a.b.c.d

git.mydomain.com 13999      IN      A      w.x.y.z

etc.

If you are using Cloud DNS the following discussion will interest you.  


Reply all
Reply to author
Forward
0 new messages