1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Autodiscover Troubleshooting

Autodiscover Troubleshooting

Autodiscover is a convenient function supported by a wide range of email client, including Outlook, Mac Mail, Thunderbird, and many more. If it is functioning correctly, when you add an existing email account to your email client application using the full email address as the username and the correct password, then your mail client will automatically detect the correct server settings for the email address. Often, if Autodiscover is not successful, an email client application will attempt to guess the correct server settings and commonly use incorrect ones, such as not using the full email address as the username.

This article provides the troubleshooting steps to successfully take advantage of the Autodiscover functionality. Please click the links below to identify common issues and how to resolve them.

Username and Password

If your email client application attempts to use Autodiscover and returns a message indicating that a configuration was found at the email provider and you are still unable to log in, this means that Autodiscover is working correctly and is a strong indicator that your username and password may be incorrect. Please ensure that the email address matches the one created in cPanel exactly. If you continue to experience issues, please attempt to change the email account's password using the following article:

Note: Passwords are case sensitive and are also sensitive to blank characters. Copying and pasting a password can often include additional characters or spaces that may invalidate the password. To avoid this, you can copy the password by hand or paste the password into a notepad to ensure that no extra characters or spaces are included. This is advisable both when creating the new password and using it.

DNS records

All HostGator Shared and Reseller servers automatically create the necessary SRV and CNAME records in your DNS zone; however, you would need to use your HostGator name servers to take full advantage of this.

If you are using third-party name servers to host your DNS remotely and Autodiscover cannot find a configuration directly from the mail server, you may want to consider using your HostGator name servers instead.

To use HostGator name servers:

  1. Get the details of your HostGator name servers. Here are support articles to guide you on where to find your name servers.
  2. Once you have your name servers details, you can now connect your domain to your name servers. Follow our guide for changing name servers, including directions for making this change at popular registrars.
  3. Please allow 24 to 48 hours of propagation.

VPS/Dedicated server administrator settings

How to enable Autodiscover on VPS/Dedicated hosting

If you are on a VPS or Dedicated hosting, Autodiscover may not be enabled.

To enable Autodiscover:

  1. Log in to WHM.
  2. Look for the Tweak Settings section. The quickest way is by typing the keyword on the Search box on the left-side panel.

    WHM - Search box (left panel)

    Alternatively, you can use the Search box at the top of the page.

    WHM - Search box - top page

  3. Select Tweak Settings under Server Configuration.

    WHM - Tweak Settings

  4. On the Tweak Settings page, click on the Domains tab.

    Tweak Settings - Domains

  5. Select On for both the Service Subdomains and Thunderbird and Outlook autodiscover and autoconfig support (enables proxy subdomain and SRV record creation) settings.

    WHM - Tweak Settings - Domains - Service Subdomains

  6. Once done, select your preferred mail service (IMAP is recommended).

    WHM - Tweak Settings - Preferred Mail Service

  7. Click on the Save button located at the bottom of the page.
Note: You will also want to ensure that the domain for an email account experiencing issues uses your name servers to take advantage of this service. There may be between 4 and 8 hours of propagation before the new DNS records are fully functional.

SRV records for Outlook Autodiscover support

Microsoft Outlook®’s Autodiscover feature searches DNS for an SRV record which is set to cpanelemaildiscovery.cpanel.net by default in cPanel. System administrators can choose a different default host if they have an SSL-enabled host with an SSL certificate signed by a Certificate Authority.

To set a custom SRV default record for Outlook Autodiscover:

  1. Log in to WHM.
  2. Look for the Tweak Settings section by typing the keyword in the Search box on the left-side panel or at the top of the page.

    WHM - Search box (left panel)

  3. Select Tweak Settings under Server Configuration.

    WHM - Tweak Settings

  4. On the Tweak Settings page, click on the Domains tab.

    Tweak Settings - Domains

  5. In the Host to publish in the SRV records for Outlook autodiscover support section, select the radio button next to the text box, and enter a fully qualified domain name for your Autodiscover server.

    Publish SRV Records

  6. Click Save at the bottom of the page.
Need further assistance? Please contact HostGator's Support via phone or Live Chat so we can assist you!