Forum Discussion

Machist's avatar
Machist
Copper Contributor
Jul 31, 2024

Company domain in azure

Hello!

 

I have create custom domain in Azure:

mycompany.onmicrosoft.com (vertified)

mycompany.com (vertified) primary

 

Azure Entra ID use mycompany.com as primary domain. 

 

Everything works ok, but I have noticed that if I use Azure VPN and Azure VM our company domain/websites not work. 

mycompany.com points in Azure DNS server? 

 

Have I done mistake? should I use subdomain (e.g. ad.mycompany.com )primary domain?

Can I change that easily? Or what is solution?

We use Entra ID P2, VPN + virtual server and 365 exchange. 

 

 

5 Replies

  • Machist's avatar
    Machist
    Copper Contributor

    Finally I found this: https://serverfault.com/questions/526205/my-public-website-name-and-ad-domain-name-are-the-same-how-can-i-get-to-my-exte


    "You can solve this by naming your domain correctly, it should be something like http://ad.example.org/, or corp.example.org"


    So I need to create custom domain "ad.mycompany.com" and add it to primary domain. Can anyone say how this will affect users?

    • Machist's avatar
      Machist
      Copper Contributor

      Kidd_Ip 

      It use default Azure-provided DNS now.

       

      DNS Servers . . . . . . . . . . . : 10.0.1.132

                                             10.0.1.133

       

       

      C:\Users\xxuser>tracert http://www.junebug.fi/

      Unable to resolve target system name http://www.junebug.fi/

       

      C:\Users\xxuser>nslookup http://www.junebug.fi/

      Server: http://dq60cm233y2aa7s.internal.cloudapp.net/http://dq60cm233y2aa7s.internal.cloudapp.net/

      Address:  10.0.1.132

       

      *** http://dq60cm233y2aa7s.internal.cloudapp.net/ can't find http://www.junebug.fi/: Non-existent domain

      • Machist's avatar
        Machist
        Copper Contributor

        Should I configure Azure Private DNS zone? 

Resources