23
votes

Wondering if anyone has experience setting an email while hosting a site with Netfliy? I registered a domain name using google domains and pointed the name servers to Netlify that is hosting a Gatsby static site. I would like to set up an email on a shared hosting account (I’m using hostpapa).

The Netlify DNS is set up and the site is live. I have tried adding setting the A records to the hosting IP, and MX records to mail.domain… to Netlify DNS and Google Domain records... I guess the questions might be where should the name servers point first... In both cases, the nameservers are still pointed to Netlify where the site is hosted and I get the following error:

Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver.

2
It is not quite clear in your explanation what settings have been setup on each hosting service. If you have an issue with a setting on Netlify DNS try their support.talves

2 Answers

26
votes

For setting up an email when using Netlify nameservers (DNS zone), you have to follow the instructions provided by your email provider.

This typically requires you to enter MX records into the DNS zone on Netlify. If you're using GSuite, go to "Synthetic Domains" on the google domains site and copy everything in there to the DNS zone of Netlify. You can ignore the warnings saying that you have to use google's names servers. As an example, this is my setup for email provided by GSuite:

enter image description here

6
votes

I use Yandex.connect and Netlify make my personal mail service.

You can check the official doc. https://yandex.ru/support/connect/dns/mx.html?lang=en

Or see my steps:

  1. register a Yandex.connect account

https://connect.yandex.com

  1. set Domains on Yandex enter image description here

  2. set DNS on Netlifyenter image description here