LSCWP 5.0: Auto CDN Setup

August 8th, 2022 by LSCache , QUIC Cloud 2 Comments

Automatic QUIC.cloud Setup in LiteSpeed Cache v5.0 for WordPress

Version 5.0 of the LiteSpeed Cache for WordPress plugin has arrived, and it provides a simple automated process to get you started with QUIC.cloud CDN!

Whether you prefer to stay in the driver’s seat and follow our existing manual onboarding procedure, or you’d like to let the plugin take the wheel, the end result is the same: your WordPress site powered by LiteSpeed Cache and QUIC.cloud CDN!

Let’s take a look at how Automatic QUIC.cloud Setup in LiteSpeed Cache works.

Auto QUIC.cloud Setup

To begin automatic CDN setup in the LiteSpeed Cache plugin, navigate to CDN > Auto QUIC.cloud Setup.

There are just a few simple things you will need to do on this page:

  1. Press a button to set up a QUIC.cloud account and pair your WordPress site with it
  2. Press another button to prepare your site for use with QUIC.cloud, and set up your DNS
  3. Update nameservers at your domain registrar
  4. Wait for QUIC.cloud to generate an SSL certificate and enable the CDN

Remember, this setup is only required if you are using the CDN service! You don’t need to do any of this setup if you are only using the QUIC.cloud Online Services (Image Optimization, UCSS, CCSS, VPI, or LQIP).

WARNING: QUIC.cloud DNS does not support DNSSEC. If you have DNSSEC enabled at your current DNS provider, please disable it before attempting this setup.

Set up QUIC.cloud Account

Set Up QUIC.cloud Account in Automatic QUIC.cloud Setup

If you have not previously set up QUIC.cloud CDN or any of QUIC.cloud’s Online Services for this domain, this section will show a single Link to QUIC.cloud button.

If you already have a QUIC.cloud domain key for this site, then the button will say Begin QUIC.cloud CDN Setup instead.

Press the button (whatever it says), to add your site to a new or existing QUIC.cloud account.

Linking your domain to QUIC.cloud will be an automatic process, if all goes well, and it will redirect you back to this LiteSpeed Cache page. You should notice that the button has been replaced with a status of Ready to run CDN setup.

CDN Setup Status

CDN Setup Status in Automatic QUIC.cloud Setup

Once your domain has been linked to QUIC.cloud, the Run CDN Setup button will be available. Click it to continue.

The status should change to In Progress and the button should now say Refresh CDN Setup Status. You will receive an email from QUIC.cloud when setup is complete, or you can press the button for an update.

If there are any errors during this process, the status will change to Paused, and the error will be listed below the status. Is the error is something you can fix on your own? Do so and then press Run CDN Setup again. If you can’t fix the error yourself, you can contact QUIC.cloud Support for help.

Don’t feel like you need to sit in front of your computer screen the whole time this setup is running. Throughout the process, QUIC.cloud will send email updates, including error notifications, any time the status of your setup changes.

Nameservers

This area is visible when QUIC.cloud is waiting for you to update the nameservers at your domain registrar. it will disappear once the CDN setup is complete.

Why update nameservers?

Nameservers are a domain-level configuration. To illustrate how this works, let’s imagine that you have purchased the domain example.com from a registrar called Domains R Us.

Domains R Us will have a set of nameservers on file that are used to direct traffic to the IP address of your example.com website.

When you use a reverse proxy CDN, like QUIC.cloud, you no longer want to send traffic to your own IP address. You want to send it to the CDN to facilitate the global delivery of your site’s content. To direct example.com’s traffic to QUIC.cloud, you must replace the nameservers at Domains R Us with a new set of nameservers that QUIC.cloud provides.

Updating your domain registrar with QUIC.cloud nameservers is the one step in the Setup process that you must complete manually.

Nameserver detection

Auto Setup will attempt to verify that you have QUIC.cloud nameservers configured at your domain registrar.

If you are setting up a subdomain like blog.example.com, the nameservers are located at the domain registrar for the example.com root domain. If you’ve already set up QUIC.cloud DNS for example.com or some other subdomain of example.com (like www.example.com), then the nameservers should already be set to QUIC.cloud nameservers. You won’t need to do anything for this step. Simply wait for QUIC.cloud to detect them.

If this is the first time you have set up example.com or any subdomain of example.com with QUIC.cloud CDN, you will need to update the nameservers. Log into your domain registrar. Your previous DNS provider’s nameservers should still be on file. You’ll see them listed under NS1, NS2, and possibly NS3 and NS4 as well.

CDN Status and Nameservers in Automatic QUIC.cloud Setup

Change the NS1 and NS2 records, to match those displayed in the Nameservers section. If your domain registrar has additional records (NS3, NS4, etc.) erase those values. You should now only have QUIC.cloud-provided NS records at your domain registrar.

Once the QUIC.cloud nameservers are detected at your domain registrar, the setup will be marked as Done. Please note that this may take up to 48 hours.

You’ll notice that the Set up QUIC.cloud Account section above will have two new links: Manage CDN and Manage DNS Zone. These will each bring you to your QUIC.cloud Dashboard to manage the CDN and DNS settings respectively. Finally, the Nameservers section will disappear, as it is no longer needed.

SSL Certificate Generation

During the last part of the CDN setup process, QUIC.cloud will generate an SSL certificate for your site. This may take 15-20 minutes. During this time, your site will still be accessible, however most browsers will give you a warning about insecure content before allowing you to proceed. This inconvenience will go away once the SSL certificate has been successfully generated.

Action

Actions to reverse some of the CDN setup

These two buttons allow you to reset your Auto QUIC.cloud Setup to varying degrees. Use them if you run into trouble with setup and want to start over.

  • Reset CDN Setup resets the CDN setup to its initial state in the LiteSpeed plugin and disables the CDN at QUIC.cloud if it’s active. This button doesn’t make any changes to your DNS Zone.
  • Delete QUIC.cloud Data resets the CDN setup to its initial state in the LiteSpeed plugin, disables the CDN at QUIC.cloud, and deletes the DNS Zone if it is inactive. If the DNS Zone is still in use, this button will fail.

With both buttons, your site remains connected to your QUIC.cloud account, and your domain key remains active. This is because you may want to use other QUIC.cloud services beyond the CDN.If you want to completely remove your site from QUIC.cloud, that requires a few additional steps. Please see our documentation for that.

All Done!

Header output from HTTP/3 Check

Congratulations! You are now using QUIC.cloud CDN!

You can use the HTTP/3 Check tool to verify that your site is being served by QUIC.cloud and supports the latest cutting edge Internet protocols. Look for the x-qc-pop header to locate the QUIC.cloud node that served the request, and the x-qc-cache header to determine whether the page was cached at the node.

You can keep an eye on your bandwidth usage and tweak your CDN settings in your QUIC.cloud Dashboard.


Tags: ,
Categories:LSCache , QUIC Cloud

Related Posts


Comments