I’ve got problem with setuping server on Ubuntu with Virtualmin and Cloudflare proxy.
Actually I’ve got two questions:
What records or/and options I need to add/turn at Cloudflare so as to my Virtualmin server would still be main DNS server and have full control over subdomains names etc.? I want to use Cloudflare as proxy to handle potential ddos and to hide my server ip not as main DNS server.
After successful Cloudflare and Virtualmin DNS configuration: Which certification method should i choose? Just flexible SSL from Cloudflare or maybe Let’s encrypt from Virtualmin?
I have configure mydomain.example to cloudflare's nameserver and have add DNS record ( A pointing at my_ip ) at Cloudflare, I have used at once Cloudflare's flexible SSL and Virtualmin's Let's encrypt - now I can access my page at mydomain.example but others subdomains that are specified on Virtualmin's DNS server are not respoding, when I alse added those domains to Cloudflare's DNS records it worked but still can't acces Virtualmin's panel at mydomain.example:10000 or admin.mydomain.example:10000.