Question

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

Posted July 26, 2019 2.1k views
DigitalOcean

I have 2 servers on which one have wordpress site on root domain “example.com” and i want to open a discourse forum on other server on my subdomain “forum.example.com”. 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 forum.example.com, 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!!

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.

×
2 answers

Hi,

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.

edited by MattIPv4
Submit an Answer