• Enable “Always Use HTTPS”
  • Add a www CNAME to house your site as DNS-only
  • Add an A record for xyz.com that points to 192.0.2.1 as proxied
  • Under “Rules” create a new rule for xyz.com/* set it as a 301 forwarding URL to https://www.xyz.com/$1.
Test your settings with this script.

--

--