transfer the mail server from my old web hosting service to digitalocean

October 22, 2014 1.7k views

Hello all:

Earlier I instructed my old web hosting service to map my domain to my IP address with digitalocean, they compiled and in addition, they suggested the mail server to the new IP as well.

Here is my two questions:

  1. I think they still use their DNS to map the domain to my new IP, what should I do to start using DO's DNS service with the minimum interruption to my web site?

  2. Even though I didn't install control panel such as VirtualMin or Zpanel, I might have done something that related to the installation of Roundcube, because now my home page was directed to Roundcube's login page.

How can I verify that I have already a mail server installed? and how to instruct my old web hosting for the mapping? Maybe I just ask them to stop the service, since I intent to stop using their DNS service.

I hope I've made myself understood and thank you for the responses,
Jon

1 Answer

Hello,

I think they still use their DNS to map the domain to my new IP, what should I do to start using DO's DNS service with the minimum interruption to my web site?

Take a look at How To Set Up a Host Name with DigitalOcean | DigitalOcean. You just need to change your domain's nameservers to DigitalOcean's (ns1.digitalocean.com, ns2.digitalocean.com, and ns3.digitalocean.com) and you should be good to go.

Even though I didn't install control panel such as VirtualMin or Zpanel, I might have done something that related to the installation of Roundcube, because now my home page was directed to Roundcube's login page.

Have you installed iRedMail on your droplet? If so, you can disable the redirect by deleting the index.html file in /var/www or /var/www/html.

by Etel Sverdlov
This article walks you through setting up the DNS for your site. The tutorial includes steps to set up an A records, point your nameservers, and provides some information about MX records.
  • Thanks Kamaln7. I don't think I made my questions totally clear.

    Regarding question#1. I don't have access to the domain registrar's control panel to make the DNS changes. Since I registered my domain through my old web hosting, say ABC, I believe that only they have the access - am I right about that? If that's the case I figure I still have to ask them to do it on my behalf.

    Regarding question#2. I do know I need to update index.html to avoid redirecting, that's not the question. And it seems I did have iRedMail installed, as I can access http://myserver//iredadmin.

    However, do I have to ask my old web hosting to update the mail server's IP to my new IP with Digital ocean? It seems so, as I can check the MX record showing that "mail.mydomain.com" still bind to the IP of my old web hosting.

    Thanks,
    Jon

Have another answer? Share your knowledge.