I have a requirement that my site www.mysite.com can accept other sites.
example: www.restaurant.com → load files from restaurant.mysite.com
In the DNS records of “restaurant.com” I will use cloudflare for SSL issues and I will indicate the DNS A record pointing to the IP of mysite.com
Does anyone have any idea how to do in the apache and nginx settings to accept all domains?
Thank you all