Page Rules or DNS - What is the best approach?

Hi all,

I want to know what is the best or most popular method to add services to my Cloudflare domain.

This:
myDomain.dev/myService – Using Page Rules to trigger a Permanent Redirect to myService URL. Here the name of myService serves as the path.

or
myService.myDomain.dev – Using DNS to add a Type A record for myService. In this case, the name of myService works as a subdomain.

Note: In both cases, the name of myService does not matter, because it can be any string that I like

Thanks in advance

I think it’s better to isolate services by subdomain if that’s their permanent home.

But if you’re using both of your bold examples for a redirect to someplace else, the first one would be easier because it doesn’t require adding DNS entries.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.