If I setup nameservers in Virtualmin then how can I serve the website using Cloudflare?
Now suppose I have 3 domains to be setup on the same virtualmin based VPS then how do I configure DNS to work for cloudflare, for all 3 domains?
Yours sincerely,
Arvind.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
From what I understood about DNS, I have pointed my domain 'a.com' to the 2 DNS Nameservers provided by CLoudflare.
Now, I want to setup the main domain a.com, and the subdomain subdomain.a.com in VirtualMin as separate virtualmin servers.
(1) What should I do in initial virtualmin setup when it asks me to specify 2 nameservers for that Virtualmin installation? Should I simply ignore this section, or specify the cloudflare nameservers.,
If I setup the VPS IP address as the 2 nameservers then what happens to the 2 cloudflare nameservers?
(2) Do I set up the main domain a.com and subdomain subdomain.a.com with the same A Record pointing both the virtualmin servers to the same IP (ie the IP of the VPS on which I want to install Virtualmin?). And do I setup the NS in the virtualmin install= nameservers provided by cloudflare?
Yours sincerely,
Arvind.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Should I simply ignore this section, or specify the Cloudflare nameservers
You should simply ignore it. Once you use CloudFlare, all records should be managed there. Old records should be succesfully imported from your current DNS, upon adding new site in CloudFlar, and new records should be entred manually upon domain creation. I think, it's also possible to make a script that would do it automatically, as post-domain create/modify action using CloudFlare API. It shouldn't be difficult but time consuming.
You can just disable Setup DNS zone in Virtualmin Edit Domain.
Do I set up the main domain a.com and subdomain subdomain.a.com with the same A Record.
It depends on your setup and available free IP address (on your system). It could be a new or the same IP address. It's up to you to decide.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HI
If I setup nameservers in Virtualmin then how can I serve the website using Cloudflare?
Now suppose I have 3 domains to be setup on the same virtualmin based VPS then how do I configure DNS to work for cloudflare, for all 3 domains?
Yours sincerely,
Arvind.
You need to read more about DNS in general and how it works. Regardin Virtualmin this question has been discussed already multiple times.
https://www.google.com/search?q=Cloudflare+Virtualmin
Hello Illia,
Thank you for your reply.
From what I understood about DNS, I have pointed my domain 'a.com' to the 2 DNS Nameservers provided by CLoudflare.
Now, I want to setup the main domain a.com, and the subdomain subdomain.a.com in VirtualMin as separate virtualmin servers.
(1) What should I do in initial virtualmin setup when it asks me to specify 2 nameservers for that Virtualmin installation? Should I simply ignore this section, or specify the cloudflare nameservers.,
If I setup the VPS IP address as the 2 nameservers then what happens to the 2 cloudflare nameservers?
(2) Do I set up the main domain a.com and subdomain subdomain.a.com with the same A Record pointing both the virtualmin servers to the same IP (ie the IP of the VPS on which I want to install Virtualmin?). And do I setup the NS in the virtualmin install= nameservers provided by cloudflare?
Yours sincerely,
Arvind.
You should simply ignore it. Once you use CloudFlare, all records should be managed there. Old records should be succesfully imported from your current DNS, upon adding new site in CloudFlar, and new records should be entred manually upon domain creation. I think, it's also possible to make a script that would do it automatically, as post-domain create/modify action using CloudFlare API. It shouldn't be difficult but time consuming.
You can just disable Setup DNS zone in Virtualmin Edit Domain.
It depends on your setup and available free IP address (on your system). It could be a new or the same IP address. It's up to you to decide.