Site accept all another sites

Hello everybody

I have a requirement that my site can accept other sites.

example: → load files from
In the DNS records of “” I will use cloudflare for SSL issues and I will indicate the DNS A record pointing to the IP of

Does anyone have any idea how to do in the apache and nginx settings to accept all domains?

Thank you all

Add the domain to Hestia as a new domain and setup redirect to the new domain you want.