Page 1 of 2

Questions, Vestacp with CloudFlare settings.

Posted: Mon May 12, 2014 12:22 pm
by marcelocaetano
I'm having doubts about the use of Vestacp with with CloudFlare.

My setup is: VPS -> CloudFlare -> DNS.

How to configure correctly? The emails are not arriving.

The DNS settings VestaCP influence on CloudFlare?

Re: Questions, Vestacp with CloudFlare settings.

Posted: Fri May 23, 2014 4:27 pm
by nightstryke
I remember Graham wrote a script to incorporate CloudFlare, but he never released it. He was going to email it to me, but i guess he's been busy.

Re: Questions, Vestacp with CloudFlare settings.

Posted: Fri May 23, 2014 6:14 pm
by marcelocaetano
nightstryke wrote:I remember Graham wrote a script to incorporate CloudFlare, but he never released it. He was going to email it to me, but i guess he's been busy.
It would be great if you had something that helped in the configuration.

But the final, I using the CloudFlare, need to configure DNS in VestaCP? Or can I disable VestaCP DNS and stay only with the CloudFlare?

Re: Questions, Vestacp with CloudFlare settings.

Posted: Tue May 27, 2014 7:07 am
by Graham
nightstryke wrote:I remember Graham wrote a script to incorporate CloudFlare, but he never released it. He was going to email it to me, but i guess he's been busy.
Hi Nightstryke,

I though't I'd sent over the php class and a sample script that I used, didn't you get it? My project was a central hub server managing many Vesta servers via the Vesta API so it didn't actually add anything to Vesta itself.
marcelocaetano wrote:
nightstryke wrote:I remember Graham wrote a script to incorporate CloudFlare, but he never released it. He was going to email it to me, but i guess he's been busy.
It would be great if you had something that helped in the configuration.

But the final, I using the CloudFlare, need to configure DNS in VestaCP? Or can I disable VestaCP DNS and stay only with the CloudFlare?
I have never used the VestaCP DNS marcelocaetano. I remove all of the DNS records and the DNS services on every Vesta server. 90% of the time I use Cloudflare only for DNS and have never had a problem (including mail routing).

Re: Questions, Vestacp with CloudFlare settings.

Posted: Tue May 27, 2014 7:47 am
by nightstryke
Nope never got the email, which is why I mentioned it. Anyways some instructions or how to's would be greatly appreciated!

Re: Questions, Vestacp with CloudFlare settings.

Posted: Tue May 27, 2014 9:14 pm
by Graham
nightstryke wrote:Nope never got the email, which is why I mentioned it. Anyways some instructions or how to's would be greatly appreciated!
You should have them now nightstryke.

Re: Questions, Vestacp with CloudFlare settings.

Posted: Wed May 28, 2014 3:54 am
by nightstryke
Graham wrote:
nightstryke wrote:Nope never got the email, which is why I mentioned it. Anyways some instructions or how to's would be greatly appreciated!
You should have them now nightstryke.
I have the outline, but no install instructions. >_>

Re: Questions, Vestacp with CloudFlare settings.

Posted: Mon Jun 02, 2014 1:52 am
by jarland
marcelocaetano wrote:
nightstryke wrote:I remember Graham wrote a script to incorporate CloudFlare, but he never released it. He was going to email it to me, but i guess he's been busy.
It would be great if you had something that helped in the configuration.

But the final, I using the CloudFlare, need to configure DNS in VestaCP? Or can I disable VestaCP DNS and stay only with the CloudFlare?
No need to worry about the DNS in Vesta at all. Simply point your domain to the nameservers given by CloudFlare, point CloudFlare to the IP address assigned to your domain in Vesta, and there is nothing you would need to worry about unless one of the two fail. Vesta would not fail for any reason specific to you using CloudFlare for DNS, nor would CloudFlare fail for any reason specific to you using Vesta.

Re: Questions, Vestacp with CloudFlare settings.

Posted: Wed Feb 25, 2015 9:43 am
by jakepatrick
jarland wrote:
marcelocaetano wrote:
nightstryke wrote:I remember Graham wrote a script to incorporate CloudFlare, but he never released it. He was going to email it to me, but i guess he's been busy.
It would be great if you had something that helped in the configuration.

But the final, I using the CloudFlare, need to configure DNS in VestaCP? Or can I disable VestaCP DNS and stay only with the CloudFlare?
No need to worry about the DNS in Vesta at all. Simply point your domain to the nameservers given by CloudFlare, point CloudFlare to the IP address assigned to your domain in Vesta, and there is nothing you would need to worry about unless one of the two fail. Vesta would not fail for any reason specific to you using CloudFlare for DNS, nor would CloudFlare fail for any reason specific to you using Vesta.
This isn't necessarily true. Using Cloudflare on your server provides a powerful caching utility. Using Nginx as a front end reverse proxy can also be a powerful caching utility. Two powerful caching utilities working against each other provides for a very erratic website. This is an instance where vesta and cloudflare could cause one another to fail.

Re: Questions, Vestacp with CloudFlare settings.

Posted: Wed Nov 30, 2016 12:11 am
by Rhandy
Hi.

I have ssl errors. If I use cloudflare as proxy. I can't open any site on vesta. If I disable orange cloud . Using direct trafic gray cloud. I do not have issues.