How to mask url?

Basically I have a domain mydomain.com, and I want it to redirect me to mydomain2.com but show mydomain.com in the address bar. How would I do that?

Sorry, Cloudflare does not have a domain masking feature.

Domain mask = Iframe

That’s what I see some dns company offers. You can create responsive iframe with jQuery yourself search stackoverflow