Website (served by DO) not appearing now that Office 365 email accouunt is set up on Godaddy

Posted July 20, 2019 2.3k views
Arch LinuxEmailDNS


Our domain is served and managed by DO, happily for several years.

I just switched from using Gmail to office 365 for the email associated with our domain. Godaddy is the supplier of the Office365 package.

I folled the instructions (listed below) and the email account works, but the website is now not appearing.

Is there a fundamental conflict or can I make some changes and solve?

Thanks in advnce

Locate the CNAMEs and set the following:

Name Target
Locate the MX and set the following:

Host Priority Target
@ 0
Locate the SRV and set the following:

Port Protocol Name Service Priority Weight Target
443 _tls @ _sip 100 1
5061 _tcp @ _sipfederationtls 100 1
Locate the TXT and set the following:

Name TXT Value
@ MS=ms39594265
@ v=spf1 -all

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


It would not matter where your emails are hosted at as long as your A record is pointing to your Digital Ocean droplet’s IP address.

My guess would be that you either made a change to the A record and now the domain name is not pointing to the droplet, or that you changed your nameservers.

You could use this website here to check your current Nameservers:

Just enter your domain name and choose NS from the drop down. If you see the Microsoft Nameservers, then this means that your DNS zone is now managed through Microsoft and you need to go there and add an A record for your domain name to point to the droplet’s IP, and a CNAME record for your www version to point to your domain name itself.

If the Nameservers are still set to the Digital Ocean ones, then you need to check your current A record and make sure that it matches your droplet’s IP.

Hope that this helps, let me know if you need any help!


  • Tks Bobby - Thanks for the input, appreciated. I'v currently reverted to my original set up in order to get the site back live.

    I will repeat the exercise (trying to get email on office 365 server) and make sure the A record is pointing at the DO droplet IP address, as you advise.

    I’m confident the DNS servers did not get changed, as the email account was functioning perfectly (the new office 365 account) which was managed by the DO DNS service, and would not be working if the DNS names had been changed (I believe?).

    Thanks and regards


    • Hi Ben,

      The emails would still work if you’ve just changed the NameServers to the Microsoft ones as you would still have had your DNS zone at their end but without the A and CNAME records.

      Let me know how it goes the second time, if you need any help feel free to reach out to me!