How to create domain mail if hosted on cloudflare
To create a custom domain email if your website is hosted on Cloudflare, you'll need to follow these steps:
Step 1: Verify your domain ownership
- Log in to your Cloudflare account and go to the DNS settings for your domain.
- Click on the "Add a record" button and select "TXT" as the record type.
- In the "Name" field, enter
_txt.google
(without quotes). - In the "Content" field, enter the TXT record provided by Google (you'll get this in the next step).
- Click "Save" to save the record.
Step 2: Set up Google Workspace (formerly G Suite)
- Go to the Google Workspace website and sign up for a new account.
- Choose the plan that suits your needs (e.g., Basic, Business, or Enterprise).
- Fill out the registration form and agree to the terms of service.
- Once you've created your account, go to the Google Workspace dashboard.
Step 3: Set up your custom domain email
- In the Google Workspace dashboard, click on the "Domains" tab.
- Click on the "Add a domain" button.
- Enter your custom domain name (e.g., yourdomain.com) and click "Next".
- Verify your domain ownership by clicking on the "Verify" button next to "TXT record".
- Once verified, click "Next" and follow the prompts to set up your email address.
Step 4: Configure Cloudflare to route email traffic
- In your Cloudflare account, go to the DNS settings for your domain.
- Click on the "Add a record" button and select "MX" as the record type.
- In the "Name" field, enter "@" (without quotes).
- In the "Priority" field, enter "10" (or the recommended priority for your email provider).
- In the "Target" field, enter the MX record provided by Google Workspace (you'll get this in the next step).
- Click "Save" to save the record.
Step 5: Set up MX records for your custom domain email
- In your Google Workspace dashboard, go to the "Settings" tab.
- Click on "Forwarding and POP/IMAP" and then click on "MX records".
- Copy the MX record provided by Google Workspace (it should look something like
mx.google.com
with a priority number).
Step 6: Test your custom domain email
- Send an email to your custom domain email address (e.g., [email protected]) to test if it's working correctly.
- Check your email client or webmail interface to see if the email has been received.
That's it! You should now have a custom domain email set up with Google Workspace and Cloudflare.