Replace IP with Domain

Hello,

How can I set Cloudflare so that when I enter cloud.my.domain, 137.XXX.XXX.XXX/nextcloud opens? I have the domain without a cloud. forwarded to my webspace. but cloud.my.domain should forward to a VServer. The IP address should then not come when called, but the domain should continue to be displayed.

That’s called domain masking. Cloudflare doesn’t do that, but one could write a Worker in JavaScript that does it. Google around for Cloudflare workers recipe exchange or tutorials.

1 Like