Support / Settings overview / Other settings / Domain overrides
To set an override for a domain, go to the DNS Response Overrides section of your account settings. You can point to either an IP address or another domain, interpreted as an A record or CNAME record, respectively. The below examples are for pointing to an IP address, but the same logic applies for pointing to another domain as well.
To override only example.com and not anything.example.com, add example.com to your override list
To override only something.example.com and not something-else.example.com or example.com, add something.example.com to your override list
To override example.com and all subdomains like something.example.com and something.else.example.com, add *.example.com to your override list
Note: Overriding a domain's returned IP address or CNAME can cause a whole host of problems, including scary looking security related warnings from your browser. Whether or not you encounter issues depends on a lot of factors. Things like the configuration of your browser, OS settings around trusted certificate authorities, HSTS, and much much more. Support articles that drill deeper down into this will be available soon.