Setting Up Gmail on Your Domain - DirectAdmin

Confirm Your Rights for Domain

To confirm that the domain belongs to you, you must specify the TXT record in the domain settings.

  1. Add a domain to your control panel.
  2. Create an account in Google Apps.
  3. Fill in the required fields. Specify the domain name for which gmail will be used:
    Fill in your business domain name
  4. After successful registration, you can go to the admin panel and confirm the ownership of the specified domain.
    After confirming, save the txt entry:
    google-site-virication=...
  5. Then go to the DirectAdmin: Admin Tools – DNS Administration - select the required domain.
    DNS Administration DirectAdmin
  6. Fill in the fields for the TXT record. Enter the value from point 2 in the field and click Add.
    Add TXT record DirectAdmin
  7. Return to the window opened in step 4. Click Submit. In case of successful domain confirmation, you will receive a message: “Congratulations! You have successfully verified ownership of mydomain.com"

Creating an MX Record

  1. Click Gmail Settings.
  2. In the next window, click "Yes, let's do it!" to switch the domain to the Gmail mail service.
  3. Next, in the Gmail Apps settings window, select "Google Servers" for mail forwarding.
  4. Then you will receive instructions on how to make changes to the DNS records of the domain. For example, to delete a record:
    mydomain.com. MX(10) mail.mydomain.com.
    and add 5 records:
    mydomain.com. MX(1) ASPMX.L.GOOGLE.COM.

    mydomain.com. MX(5) ALT1.ASPMX.L.GOOGLE.COM.

    mydomain.com. MX(5) ALT2.ASPMX.L.GOOGLE.COM.

    mydomain.com. MX(10) ASPMX2.GOOGLEMAIL.COM.

    mydomain.com. MX(10) ASPMX3.GOOGLEMAIL.COM.
  5. Delete the standard MX record in the DirectAdmin panel:
    Delete standart MX records in DirectAdmin
  6. Add 5 MX records specified in Google instructions.
  7. Return to the Gmail Apps settings window. In response to the question "Have you changed your MX records yet?" answer Yes and click Next.

DKIM Signature

  1. Create a DKIM in the G Suite admin console (instructions from Google).
  2. Add TXT record in the domain settings of the control panel:
    Add DKIM record DirectAdmin
    Paste the key value into the record field.
  3. Turn on message signatures (instructions from Google).

If you have any questions, please create a ticket to technical support.