The guide below applies only to domains hosted on MechanicWeb servers.
Before Enabling CDN
- Switch to hosting nameservers and disable third-party DNS hosting.
- Disable all other CDNs.
- Disable DNSSEC at your domain registrar. QUIC.cloud does not support DNSSEC at this time:
https://docs.quic.cloud/cdn/dns/qcdns/#turn-off-dnssec
- If you enabled Password Protected Directory for home or public_html (or website's root directory), disable it from cPanel > Directory Privacy.
If you have it enabled, an error might be triggered after clicking "Enable QUIC.cloud services":Failed to communicate with QUIC.cloud server: Unknown error:
unknown [server] https://wpapi.quic.cloud [service] tool/wp_rest_echo
QUIC.cloud's access to your WP REST API seems to be blocked.
Or,LiteSpeed Cache: QUIC.cloud service nodes cannot reach your WP REST endpoints.
Please check your WordPress or firewall setup.
Check your QUIC.cloud dashboard for more details.
- Install LiteSpeed Cache for WordPress plugin.
Step 1: Configure WordPress
Pair WordPress with QUIC.cloud
- Go to WP Admin > LiteSpeed Cache > General.
- Click "Request Domain Key".
Wait a couple of minutes and refresh the page.
A notification will appear at the top: "Applied for Domain Key successfully." - Click "Link to QUIC.cloud" next to Domain Key.
You will be redirected to QUIC.cloud. - Log in to your QUIC.cloud account or register a new account and log in.
You will be redirected back to the WordPress dashboard. - Done!
Enable CDN in LiteSpeed Cache
- Go to WP Admin > LiteSpeed Cache > CDN > CDN Settings.
- Set QUIC.cloud CDN to ON.
- Click Save Changes.
- Done!
Step 2: Enable CDN on QUIC.cloud
- Log in to my.quic.cloud.
- Go to > My Domains >
yourdomain.com
> CDN. - Click Enable CDN.
- Select [*] I want to use QUIC.cloud DNS.
- Click Confirm Choice.
Wait a few minutes for QUIC.cloud to discover the DNS records.
Click Enable and Add Records if the DNS records are correct. - Go to DNS Zones >
yourdomain.com
.
Take note of the nameservers assigned to your domain. For example:
xxx.quicns.net
xxx.quicns.org - Done!
Step 3: Change Nameservers
- Log in to the domain control panel at your domain registrar.
- Change the nameservers with the nameservers presented above.
- Wait a few minutes for QUIC.cloud to detect the change.
Step 4: Configure CDN
- Log in to my.quic.cloud.
- Go to My Domains >
yourdomain.com
> CDN > CDN Config (left sidebar). - Tweak the following configuration options:
Set "Map Both www/non-www" to ON
Set "Auto Redirect www/non-www" to ON
Set "Enable QUIC Backend" to ON
Jetpack:
If you use Jetpack, set "Allow Jetpack" to ON.
Do not change any other settings if you do not need them/are unsure what they do. - Done!
QUIC.cloud CDN configuration is now complete.
Step 5: Check CDN Settings
- Log in to my.quic.cloud.
- Go to My Domains >
yourdomain.com
> CDN > Status.
Under CDN Overview, the following items indicate CDN setup is complete:
CDN in Use
DNS Verified
SSL Certificate is Valid
will auto renew in xx days - If you see "SSL Certificate is Missing", "will generate in x minute", wait a few minutes and refresh the page.
- Done!
Step 6: Verify CDN Setup
You can check if QUIC.cloud CDN is serving your website. Make sure to check at least twice:
- Go to
https://check.lscache.io/
- Enter your website URL and click CHECK.
- If your website is being served from the CDN, you should see a green message:
QUIC.cloud CDN cache is a hit
- Proceed to the next step if you get any errors.
You can check various connection properties from the website below:https://http3check.net/
https://www.youtube.com/watch?v=r0s_S9bc0yI
More Information:https://www.quic.cloud/docs/onboarding/verifying-the-cdn-is-working/
https://www.quic.cloud/docs/onboarding/
Step 7: Fix Incorrect or Missing DNS Records
If you get any error after enabling CDN, check the DNS records on QUIC.cloud:
How to configure DNS records on Cloudflare and third-party DNS Hosting?
If the issue persists, contact QUIC.cloud support at the URL mentioned in the "Getting Support" section below.
Cloudflare CDN Integration (Optional)
Cloudflare has more nodes than QUIC.cloud but does not serve dynamic content by default. You can use Cloudflare to serve static content while leaving the dynamic requests for QUIC.cloud.
Note:
Using two CDNs at the same time is not recommended unless you have a technical reason. It will increase complexity. If you are not well-versed in technological aspects, your site might break.
Cloudflare DNS Integration:https://www.quic.cloud/docs/onboarding/easy-cdn-setup-for-cloudflare-users/
https://www.youtube.com/watch?v=u0aMTYIJFJ8
Serving Static Content Through a Subdomain:https://www.youtube.com/watch?v=Y5JCiHmAjzk
https://blog.litespeedtech.com/2023/05/08/serving-static-content-through-a-subdomain/
https://quic.cloud/docs/cdn/dns/using-cloudflare-with-quic-cloud-cdn/
More Information:
https://www.quic.cloud/introducing-cloudflare-integration/
Useful Links
https://docs.quic.cloud/cdn/dns/qcdns/#turn-off-dnssec
https://docs.quic.cloud/cdn/dns/#root-domains
https://docs.quic.cloud/cdn/dns/qcvscname/#with-the-root-domain
Getting Support
Please contact QUIC.cloud if you need any support regarding the CDN:
https://account.quic.cloud/plugin/support_manager/client_tickets/departments/
https://www.quic.cloud/support/
https://www.quic.cloud/help/
CDN Status:https://status.quic.cloud/