521 even on flex

No. To do so, I alwayw create two seperate DNS:

  1. server1.theapothecary.app ==> IPv4 of server1
  2. server2.theapothecary.app ==> IPv4 of server2

(don’t forget to adjust the oznu/cloudflare-ddns docker container to match the new subdomain it shall edit)

Then CNAME the DNS Entries you like to point to eighter of them to them. For example: you want to point www to server1 then you create this DNS:

CNAME www.theapothecary.app ==> server1.theapothecary.app

For you this then looks somewhat like this:

Entry type Entry name Entry value
CNAME theapothecary.app server1.theapothecary.app
CNAME www.theapothecary.app server1.theapothecary.app
CNAME m.theapothecary.app server2.theapothecary.app

Hope that helps to understand how DNS work. Feel free to have a read here: Expert Tip - Getting Started with Cloudflare DNS

1 Like