I have 2 different servers (so 2 different IP addresses).
Currently, my domain (let’s call it example dot com) points to the first IP address.
I now want to point staging dot example dot com to the 2nd IP address.
I tried creating a second “A” record and called it “staging” and pasted in the 2nd IP address.
But browsing to staging.example.com shows “Error 522 Connection timed out”.
And if I try to ping staging.example.com, I see results from some 3rd IP address that I’m not familiar with.
So then when I try to browse to that 3rd IP address to see who it is, I get this error:
Direct IP access not allowed
You’ve requested an IP address that is part of the Cloudflare network. A valid Host header must be supplied to reach the desired website.
What am I doing wrong?