I’m recently moved from another host provider to DigitalOcean. In the previous host company I had configure a subdomain pointing to an application hosted on DigitalOcean, and in the previous provider I had configured Google Apps for email on my main website.
Now I’ve moved my main website to DigitalOcean to the best of my knowledge I configured the DNS settings correctly in the DigitalOcean DNS control panel for the main website, and I created a submain and added the Google Apps settings as well.
Of course, I’ve also change the nameservers on my registrar to make the switch. Now everything seems to be working OK, including website, subdomain, and Google Apps.
My question is that for a few more weeks I still have the old hosting service, where I didn’t change any of the settings, so I’m still wondering if after switching the nameservers to point the main website to the droplet on DigitalOcean, all my services (website, subdomain, and Google Apps) settings are being pull from the DigitalOcean DNS control panel?
I wouldn’t want to delete the old hosting provider account to find out that my subdomain and Google Apps stop working because I didn’t configure DigitalOcean DNS settings correctly and the settings were getting pull from the old provider.
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.
However, because forums.example.com always had the same DigitalOcean IP address, I can’t figure out if it’s being route through DigitalOcean DNS manager or the old hosting provider.
Using the command returns the IP address of the corresponding server, but it doesn’t say if it’s getting routed through the DNS manager in my old hosting provider or DigitalOcean.
I know the main website is working as expected through DigitalOcean, I was just wondering if after changing the nameservers in the registrar subdomains and other services, such as mail, under the example.com domain will get routed through DigitalOcean.
If you use a Mac or a Linux machine, you could open a terminal app and use the dig command.
dig google.com
Use your own domain name of course :-) This will show you this output:
The answer section shows you the domains A record and the IP it resolves to.