Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
- How to setup/configure a Plesk domain to work with Cloudflare via the DNS Integration for Cloudflare extension?
- What is the easiest way to make a Plesk domain or subdomain work with Cloudflare?
Answer
1. Log into Plesk
2. Go to Extensions
3. Search for and install the DNS Integration for Cloudflare® extension
4. Press Open on the page of the DNS Integration for Cloudflare® extension
5. Press on Connect to Cloudflare
6. Follow the instructions, and once you acquire your Cloudflare API token from the cloudflare.com website, enter it in the field:
7. Press Save
8. Once that is done, you will reach a screen that shows all domains, and the row for each domain will look similar to the following:
9. The upward facing arrow lets you export (upload) the DNS records from the local DNS zone for the domain on the side of Plesk to the primary DNS zone on the side of Cloudflare.
10. The downward-facing arrow lets you import (download) the DNS records for the domain from the primary DNS zone on the side of Cloudflare to the local DNS zone on the side of Plesk.
11. The toggle button lets you switch the auto-sync (automatic synchronization from the local Plesk DNS zone towards the Cloudflare DNS zone) for the domain to enabled (slider to the right) or disabled (slider to the left).
Note: Once you enable auto-sync for the first time, you should know that if the domain does not exist in Cloudflare, auto-sync will create a DNS zone for the website there. If it does — auto-sync will overwrite the existing Cloudflare DNS records. If you want to keep the existing Cloudflare DNS records, you should Import DNS records from Cloudflare to Plesk before enabling auto-sync.
The mentioned controls will allow you to make sure the records on the side of Plesk and synchronized with the records on the side of Cloudflare for the mentioned domain.
Comments
Please sign in to leave a comment.