How to add a subdomain on a different droplet/server?

I have 2 servers on which one have wordpress site on root domain “” and i want to open a discourse forum on other server on my subdomain “”. And my root domain is using cloudlflare.

So when i tried to add a dns of forum and pointed it to the new server, it still shows nothing. I dont know why , i know this is somewhat off topic. But please i am trying to figure this out from couple of weeks.

When i visit the, it shows me the cloudflare page but says the host in not working. I also added the subdomain in my digitalocean panel still nothing

Please help!!

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
July 26, 2019
Accepted Answer


Can you confirm if you’ve followed these steps here in:

  1. Login to Cloudflare
  2. Use the drop-down menu in the upper left of your screen and click your domain that you want to install the subdomain on.
  3. Click the DNS icon at the top of the screen.
  4. Select A using the drop-down options
  5. Add the subdomain in NAME
  6. Add the IP address of your droplet in the box labeled IPv4 Address.

If you’ve followed those steps note that it might take a while for the DNS cache to clear over the Globe.

Hope that this helps! Bobby

I get a DNS_PROBE_FINISHED_NXDOMAIN error when adding subdomains. Let me ask you what is missing other than adding the A record.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel