Redirecting mail.example.com to http://mail.google.com/a/example.com

The domain name that we have uses Google email as its backend, but it is not hosted anywhere (without a website). How can I, through the registrar interface (I use 1 & 1), redirect ppl, which enters http://mail.example.com to http://mail.google.com/a/example.com ?

I can create a subdomain and set it to DNS / CNAME, but what should I put where? In addition, if I make this change, it will affect the existing mail delivery (for which everything is working fine now).

+7
subdomain dns
source share
2 answers

Turns out it wasn't that difficult ... and the instructions are part of Google itself: Control Panel → Service Settings: Email → General: Web Address → Change URL

https://www.google.com/a/cpanel/example.com/CustomUrl?s=mail

Change CNAME record

To use the custom URL mail.example.com, you must change the CNAME record to your domain host.

  • Log in to oneoneone.
  • Go to the DNS management page. The location and name of this page will differ from the host, but can usually be found in the Office domain or advanced settings.
  • Find the CNAME settings and enter the following as a CNAME value or alias:

    post office

  • Assign CNAME to the following address:

    ghs.googlehosted.com

  • Save the changes to the domain host and click "I finished these steps" below.
+12
source

You cannot redirect to a path (e.g. /a/example.com ) using only DNS. CNAME DNS records can make mail.example.com/foo efficiently point to mail.google.com/foo , but for something more complicated, HTTP redirects will be required. This means that you need someone to host your webpage for this.

Unfortunately.

If your registrar offers the option "HTTP redirection", you can use it. Some registrars do this. If you use this, they efficiently run a minimal web server for you. Please note that this may violate SSL when users access your page through https://example.com .

Mail is delivered via MX records, which will not be affected by changes in other types of records (if you do not interfere with DNS records for domain mail servers).

+1
source

All Articles