0
votes

please pardon if what I've written is in not specific technical terms, I'm new at this.
I was using gcp vm instance to host a website on apache2 server. to link public ip and my custom domain I used cloud dns (zones). and put the data(like this --ns-cloud-b1.googledomains.com.) in google domains custom dns tab. but the thing is this stopped the email forwarding feature of google domain(as forwarding only works if you are using google dns). How can I achieve both email forwarding and hosting?

1
I believe you should reach Google Domains support as is where the feature is not working. - Watacroft

1 Answers

0
votes

Google Domains includes it's own DNS servers, so you don't need to use Cloud DNS. Here's what to do:

  1. Turn off custom DNS
  2. Follow the "How to set custom resource records" instructions on https://support.google.com/domains/answer/6353515. Add an "A" record for www.yourdomain.com and yourdomain.com pointing to the IP address of your GCE instance.