Exchange multiple domains

rowansc1 0 Reputation points
2023-07-05T15:04:34.61+00:00

Hi everyone,

I am running Microsoft exchange 2019 and my domain root is domain.net. The mail domain for exchange is mail.domain.net and autodiscover.domain.net

I also have a additional domain added which is domain.co.uk.

When trying to connect to a domain.co.uk email address using testconnectivity.microsoft.com's connectivity test, I receive an error saying that the host mail.domain.co.uk couldn't be resolved. As shown below.

1

It looks like it is trying to connect using mail.domain.co.uk, not mail.domain.net. So, I tried adding either a A-Record or CNAME (not at the same time) for mail.domain.co.uk to point to mail.domain.net. This got further, but then I got a certificate issue since the certificate is only for *.domain.net.

2

I do have a SRV record on the domain.co.uk domain for autodiscover which works fine. Does anyone have any ideas as to what is happening here and how to resolve it?

Thank you for your help!

Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,200 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,510 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
467 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Kael Yao-MSFT 37,681 Reputation points Microsoft Vendor
    2023-07-06T01:30:21.5733333+00:00

    Hi @rowansc1

    Do you have a certificate which includes mail.domain.co.uk on your Exchange server?

    If not, this may be the expected behavior as the tool cannot find a valid certificate for this domain, thus the error message Host name mail.domain.co.uk doesn't match any name found on the server certificate is returned.

    Here is also a thread discussing the similar scenario for your reference:

    Multiple certificates on Exchange 2019 server


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. rowansc1 0 Reputation points
    2023-07-07T13:01:32.8733333+00:00

    I've fixed the problem now. It was to do with UPN. So I added that as a registered UPN suffix for the AD forest and then changed the users UPN, which now works!

    ActiveSync is particularly picky about UPN/PriSMTP alignment.

    0 comments No comments