Problem resolving hostname after starting to use DNS

Hey everyone, I have a problem resolving hostnames after I started using Cloudflares DNS services for a GoDaddy domain.

The Servers Layout
I have a domain at GoDaddy, let’s say mydomain.com and I have the following servers:

  • www.mydomain.com - this is my website (also accessible by mydomain.com)
  • server1.mydomain.com - this is my first backend server used as a restAPI
  • server2.mydomain.com - this is another backend server used as restAPI
  • test-website.mydomain.com - this is a development website and for testing
  • test-server1.mydomain.com - test server 1
  • test-server2.mydomain.com - test server 2

All of those servers are hosted in Heroku some as paid dynos and some as free.

The Problem
I have moved all the DNS records (and created new ones as needed for CNAME) and now when I try
curl -I server1.mydomain.com
I usually get curl: (6) Could not resolve host: server1.mydomain.com .
I say usually since it sometimes works and than stops working and I have no idea way.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.