Table of Contents
Important Notice
Please note that the information in this article regarding Sucuri is outdated. We now recommend using Malware Protection for enhanced website security.
Malware Protection is a comprehensive solution designed to protect your websites from evolving cyber threats. Seamlessly integrated into the Cloudways platform, it offers real-time malware scanning, proactive defense mechanisms, automated cleanup, and a user-friendly interface. To ensure the security of your websites, we encourage you to explore and activate Malware Protection within your Cloudways account.
If you followed our previous guide on how to set up the Sucuri Antivirus, your site is now properly monitored by Sucuri for any security issues. Here, we will be setting up the Website Firewall (WAF) component of your Sucuri subscription. It is a service sitting in front of your site, filtering all traffic to it, and protecting it from hacking attempts and other nasty stuff.
Important
Setting up the Sucuri Website Firewall (WAF) implies changing DNS records for your domain so we advise extreme care when doing it. As always, in the case of doubt, contact our support team.
How to Setup Sucuri Website Security Firewall (WAF) on Cloudways
Step 1: Add a Site to Website Firewall
Navigate to CloudProxy Website Firewall in the left menu of your Sucuri console, type your full domain name in the Domain Name field, and click on Add Site.
Step 2: Choose the Server Location
From the drop-down menu, choose the location closer to the Cloudways server where the application to protect is hosted (this is the location where the Sucuri servers filtering your traffic will be, so the closer you choose it to your server, the less latency will be added).
Step 3: DNS Changes
Now comes the part where you need to be careful. You will be instructed to change the A record for your domain to point to the Sucuri Firewall IP address.
If you followed our advice when initially taking your site live from Cloudways, you created a CNAME record on your DNS provider (typically your domain registrar) pointing to your Cloudways server. Now, you will need to add an A record pointing to the Sucuri Firewall IP and remove the CNAME record pointing to Cloudways. If you just have an A record, then you simply need to update the IP.
Before doing anything, read carefully the instructions under Activating CloudProxy and check that your site loads properly from the provided test link.
That’s it! We hope this article was helpful. If you need any help, then feel free to search your query on Cloudways Support Center or contact us via chat (Need a Hand > Send us a Message). Alternatively, you can also create a support ticket.