Manage website hosted on droplet & email (hosted by microsoft office)

Posted July 1, 2014 8k views

I am a newbie to the ops part of website so it’s very likely that I screwed up royally.

Here is my question - my client had bought domain name through godaddy & had also email service setup on Microsoft Office Online.

When it was time for us to make the public website public (which is hosted on the droplet) I changed the nameservers in godaddy account to point to the,,

It was earlier NS1.BDM.MICROSOFTONLINE.COM, NS2.BDM.MICROSOFTONLINE.COM. I removed these. Totally my mistake.

Now few hours later they stoppped receiving emails. So I am assuming the change to the nameservers caused this. & changed it back to NS1.BDM.MICROSOFTONLINE.COM, to resolve the issue temporarily.

So my question is, now the public website hosted on the droplet should stop working soon. How to keep both the public website & the email service up & running?

Is this to do with MX records. If so how to resolve it?

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

If they were using those nameservers, it seems that your client has set up their domain’s DNS records to be managed through Office 365. The easiest solution would probably be for them to set up the needed A record in Office 365’s control panel. Go to: Domains >Manage your website and email domains.

If that’s not possible, you’ll need to set up SRV, TXT, and CNAME records in order to use Office 365 for the domain’s mail while using different nameservers. See this article for the details.

  • Ok, this is greatly helpful. I will check out the steps you mentioned and get back to you.

  • @astarr IT seems that there is MX records which they can get me. It is of the form -
    priority: 0
    hostname: @
    points to address:

    CanI use this to create MX records in my droplet & be done with it?

  • I believe you’ll also need to at least add the TXT record including the SPF record.

  • @Andrew I was able to resolve it by adding th MX records to the table. And it worked. Thanks a ton for the help.

    RE: adding txt value. I have got the following tuple form ms office admin.

    @ || v=spf1 -all

    Here I should replace @ with or the one provided by ms office in their MX record (it is something like