Table of Contents
CloudwaysCDN is a one-stop solution to accelerate your website performance and offer top-of-the-chart global response times.
How to Setup CloudwaysCDN
To configure the CloudwaysCDN, you first need to enable it from the Cloudways Platform and then integrate it with your website using the following steps. In this example, we are using a WordPress application, but the process is the same for enabling the CloudwaysCDN for other applications.
Here are a few prerequisites for configuring CloudwaysCDN:
Your website should be live.
If you are already using third-party CDN, then integrating CloudwaysCDN on top of it will break your website’s functionality. If you want to switch to CloudwaysCDN, you are required to remove other CDN services.
CloudwaysCDN integration is attached to your website domain. Any change in the website domain will affect CloudwaysCDN functionality.
CloudwaysCDN is not currently available for WordPress Multisite applications.
Step #1 — Navigate to CloudwaysCDN
Log in to your Cloudways Platform using your credentials.
From the top menu bar, open Servers.
Then, choose the server where your desired application is deployed.
Next, click www.
Choose your application’s name.
Under Application Management, select CloudwaysCDN.
Step #2 — Activate CloudwaysCDN
Finally, click Create.
That’s it! You have successfully set up CloudwaysCDN with your application. Now, the final step is to integrate the CloudwaysCDN with your website. Before moving forward, let’s take a quick look at the following information:
Website URL — It is your website URL on which CloudwaysCDN is configured.
CDN URL — It is the corresponding base CDN URL, e.g., 485030-1527904-raikfcquaxqncofqfm.stackpathdns.com. If you visit this address from your browser, you should see your website’s home page.
Purge Content — This option allows you to purge your CloudwaysCDN cache worldwide instantly. It prevents the older version of your website assets from being delivered to the visitors just in case you have updated your website content.
Bandwidth — Here, you will find the monthly bandwidth consumption of your application.
Subscription — This option will remove the CloudwaysCDN subscription. If you plan to unsubscribe to the CloudwayCDN, delete the CDN URLs from your application before unsubscribing.
Step #3 — Integrate CloudwaysCDN
Now, you can integrate the CloudwaysCDN with your WordPress and Magento application using the 1-click integration feature, as shown in the following steps. Please ensure you have a Breeze cache plugin installed in your WordPress application, as it fully supports CloudwaysCDN and offers superior performance.
If you want to use any other caching plugin for your WordPress application, please skip the next step.
Now, click Apply under Application Integration.
That’s it! You have successfully integrated the CloudwaysCDN with your WordPress application. It’s time to verify if the CloudwaysCDN is properly configured.
Verify CDN Integration
To test CDN integration, you can use any online third-party tool like the CDN Finder.
Input your website URL in the given field.
Click Run CDN Finder.
Here, you will see StackPath if the CDN was configured correctly.
Alternatively, you can verify CDN by visiting the developers’ tool of your browser to view the web page’s source code. Once there, search for the "stackpathdns", and you should see your CDN URL.
How to Remove CloudwaysCDN Subscription
You can remove the CloudwaysCDN subscription in a few steps. Before unsubscribing the CloudwaysCDN, you need to follow the steps below for your respective applications.
Step #1 — Remove CDN URLs from the Applications
Visit your WordPress admin panel.
Go to Plugins.
Select Caching Plugin(s), if any.
From the Plugin settings, go to CDN and remove the CDN URLs.
For a video guide on this process, Click here.
Login into your Magento admin.
Go to Store > Web > Base URLs (Secure).
Replace Stackpath URLs for static View files & Media Files with your primary domain:
Click on Save Changes.
From SSH on webroot (public_html), run the following commands:
php bin/magento s:s:d -f
php bin/magento cache:flush
php bin/magento cache:clean
Laravel & PHP
For PHP & Laravel Applications, you need to make the required changes or contact our support team for assistance because of custom configurations.
Step #2 — Unsubscribe CloudwaysCDN
Navigate to the CloudwaysCDN section of your application.
Next, click Remove Subscription.
Finally, click Ok.
Finally, click Unsubscribe.