now my old site already had cloudflare and was configured in godaddy’s nameserver since i had to create a private namerserver for cyberpanel so i want to know how to add cloudflare to cyberpanel?
or can i use my old nameserver of cloudflare in cyberpanel if yes then kindly tell me how
Creating private name servers with CyberPanel is not a must, you only need to create private nameservers if you are planning to run DNS on your CyberPanel server too.
Otherwise, if you are going to use CloudFlare for DNS, then you don’t need to do anything on CyberPanel side. Just set up your domain on CloudFlare and add A record pointing to your CyberPanel server.
@CyberPanel said:
Creating private name servers with CyberPanel is not a must, you only need to create private nameservers if you are planning to run DNS on your CyberPanel server too.
Otherwise, if you are going to use CloudFlare for DNS, then you don’t need to do anything on CyberPanel side. Just set up your domain on CloudFlare and add A record pointing to your CyberPanel server.
Thank you for replying… I am sorry I couldn’t understand what you are saying I am new to this stuff… I want to use my domain with cyberpanel my domain registration is GoDaddy so I created a nameserver for cyberpanel which I shouldn’t have… So what I understand from your reply is i set up the nameserver to cloudflare in GoDaddy and through cloudflare I add a record pointing to my cyberpanel? But I don’t know how to do it…if I did it then So I don’t have to add anything in cyberpanel like nameserver or dns?
Correct for better understanding you can use this guide as a starting point: https://www.cyberpersons.com/2016/08/08/setup-cloudflare-domain/
thanks a lot sir i did as you said and everything worked well. after uploading my database i am getting this error when i try to visit my website
This page isn’t working www.website.com redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
and when trying to view my website with https:// i m getting cloudflare 502 error
kindly help me
update: it happens in chrome but in mozilla and in mobile android browser my website is opening but the homepage is like as if i installed new wordpress… whereas my homepage should show my theme along with my posts
# BEGIN LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
RewriteEngine on
CacheLookup on
RewriteRule .* - [E=Cache-Control:no-autoflush]
RewriteRule ^min/\\w+\\.(css|js) - [E=cache-control:no-vary]
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END LSCACHE
# BEGIN NON_LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
### marker MINIFY start ###
RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} ^(.*)/min/(\\w+)\\.(css|js)$
RewriteCond %1/wp-content/cache/$2/$1.$2 -f
RewriteRule min/(\\w+)\\.(css|js) wp-content/cache/$2/$1.$2 [L]
### marker MINIFY end ###
LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block!
END NON_LSCACHE
BEGIN WordPress
END WordPress
and the litespeed plugin is not showing in wp dashboard