Fix issues with domains, Cloudflare & restrictions

Github

Github
API
This update fixes a previous issue with connecting custom domains, where our internal checks did not catch if the domain was already present or not.
This update fixes a previous issue with connecting custom domains, where our internal checks did not catch if the domain was already present or not.