In version v2.0.0, CyberPanel has added the ability to synchronize DNS entries between Cloudflare and CyberPanel DNS on your own server
Cloudflare is reverse proxy service, which offers certain features such as
In order to use Cloudflare the nameservers of the domain are changed to the ones provided by Cloudflare and that means any changes done such as adding subdomains or changing mail providers or using a new DKIM key on CyberPanel have to be manually inputted in CloudFlare's DNS panel. You have to repeat the process for every change you make to every domain on your account on CyberPanel.
That's a lot of manual data entry and we at CyberPanel made it easier for you to do by adding Cloudflare integration right into your CyberPanel.
CyberPanel has added deep integration with Cloudflare which can automatically do the following on your behalf
From version v1.9.5 onwards, you can use Cloudflare integration by going into DNS-> Cloudflare
You will be greeted by a screen like this
In order to obtain API token from Cloudflare click the avatar on the right of you Cloudflare account and under profile setting click the API token tab
Click on the blue "View" button next to Global API Key. Enter your password to get your API token key
Please enter the email address that you use on the Cloudflare account and you Cloudflare API token generated in the last step on Cloudflare setting page in CyberPanel and select Enable for Sync local Records to Cloudflare
On the next screen, you can add remove or sync your DNS between CyberPanel and Cloudflare
Voila, in less than 10 minutes we were able to integrate Cloudflare with Cyberpanel and we have made DNS updates easy as a breeze directly from the CyberPanel
In CyberPanel v1.8.8 we've introduced WordPress staging site feature, in which you can put your live site to staging make your changes, do testing and then put that site in production.
To get this feature you first needs to be on v1.8.8. It is always recommended to Backup your site before using this feature so that you can restore if anything goes wrong.
Cloning or putting your site in staging is very easy.
Dashboard -> Websites -> List Websites -> Manage -> Clone/Staging
Then you will have to enter the domain. This domain will be created as child-domain to this site, make sure to add proper DNS A record if your DNS is hosted somewhere. If DNS is hosted on CyberPanel A record will be added and you won't have to do anything. This will clone your website data along with database and ready for you to start testing/developing.
We will not copy LiteSpeed Cache plugin in the staging site, so you won't need to clear the cache.
Once you are done with your testing, you can copy your staging site to production.
Dashboard -> Websites -> List Websites -> Manage -> List Domain -> Manage/Launch -> Copy/Sync to Master
Once syncing is done, your changes will be live to master/production site. Once child/staging site is copied to master, make sure to purge the cache from whatever cache plugin you are using, because we will not remove cache plugin from the production site, you need to purge cache manually.