Report this

What is the reason for this report?

Trouble Setting Up A Subdomain In Ubuntu 18 with apache server

Posted on February 28, 2019

Hi all, I’m completely frustrated in trying to setup a subdomain on one my droplets. I’ve set up a new virtual host just for the sub domain and setup the A and CName records for the subdomain, but nothing works. I’ve tried the many tutorials and posts for sub domains even here at digital ocean, but I keep getting a

This site can’t be reached test.beautylounge3000.com’s server IP address could not be found. DNS_PROBE_FINISHED_NXDOMAIN

Can anybody help?

Thanks,

Dane



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!

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.

Hey friend,

If you set up the DNS with us, it looks like you forgot to change the nameservers from GoDaddy to ours. Else, you would need to set up the subdomain record at GoDaddy as they currently manage the DNS:

[root@gateway] ~ # dig NS beautylounge3000.com +short
ns14.domaincontrol.com.
ns13.domaincontrol.com.

For reference, these are our nameservers, which must be configured at your domain registrar:

ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com

Jarland

And you were right. I set up the A record for the sub domain at Godaddy.

Thanks.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.