In this tutorial you wil learn how to add an Autodiscover DNS record using WHM. Versions of Outlook, such as 2013, 2013 and 2019 require a SRV DNS record which allows Outlook to automatically detect the Exchange Server or M365 settings when you setup a new account. With later versions of Exchange this is mandatory, without it, Outlook simply cannot connect.


  • You will need access to WHM
  • Your account will need access to edit DNS zones

Step 1: Login to WHM

If you are using the WHM management suite and have access to edit the domains then you can easily accomplish this by following the steps below.

Visit the URL of your WHM server, the format is usually like the following;


Login using your WHM username and password.

Step 2: Add the DNS SRV record

Scroll down to DNS functions and click on DNS Zone Manager like below

WHM DNS Zone Manager

Now from the list of domains on the right, click Manage next to the domain you want to add an SRV record for like below

WHM DNS Manage Domains

Next on the right hand side, click the Add Record drop down arrow and choose Add “SRV” Record

WHM DNS Add SRV Record

On the next screen, add the information given to you by your Hosted Exchange provider, in this example we will use as the domain we are managing, and as the Exchange server we are connecting Outlook to.

  • Name
  • TTL 14400
  • Type SRV
  • Priority 0
  • Weight 0
  • Port 443
  • Target

The details should look like this once filled in

WHM DNS SRV Record Details

Next click save.

Step 3: Test the DNS record is working

For a quick test within Windows, you can open the command prompt and type the following (replace with your domain)

nslookup -q=srv

For a deeper test, you can use the Microsoft Remote Connectivity Analyzer website to check the new DNS SRV record is active, and that the test can also successfully access the Hosted Exchange server with your DNS details.

Visit and choose the correct test for the service you are connecting to, for example, if you are using Hosted Exchange then choose Exchange Server, then choose Outlook Connectivity

Microsoft Outlook Connectivity Test

Now enter your email account details that are set in the Hosted Exchange server

Microsift Outlook Connectivity Exchange

Please note, the tests may not work to start with immediately as DNS can take some time to update. If the tests fail, then retry the tests later.

You have now learned how to add an an Autodiscover DNS record for your domain using WHM.

Leave A Reply