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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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:
dig google.com
; <<>> DiG 9.11.1-P2-RedHat-9.11.1-2.P2.fc26 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51836
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 299 IN A 216.58.209.142
;; Query time: 40 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Sat Aug 26 22:28:43 CEST 2017
;; MSG SIZE rcvd: 55
The answer section shows you the domains A record and the IP it resolves to.
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.
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.