I only want certain sites to access my server

Hello there,
I only want certain sites to access my server.
Approximately 5 or 6 sites but these sites also use cloudflare, so I cannot do this.
I have a virtual server and I want it to be accessible only to domains or ip addresses that I want.

How do these sites access your server?

Normally, I would recommend Firewall Rules, but it depends on how a website would access another website.

All of the websites that will be accessed depend on a single WHM server.

I could not do this over the firewall rules.

Use Argo Tunnels to expose the sites you want to Cloudflare’s edge directly.