Adding a Development Site to QUIC.cloud¶
It may be tempting to just add your Development or Staging site as a Domain Alias in your QUIC.cloud Dashboard, but that would be a mistake. The Domain Alias functionality serves a completely different purpose. Instead, follow the steps below to set up your development site.
By doing it this way, the original domain will not be related to the development site. QUIC.cloud will treat them as two separate domains (which is exactly what you want, because they are separate installations).
Set up DNS¶
For this example, let's say you have a production site at example.com
and you want to connect your cloned development site to QUIC.cloud as dev.example.com
.
Create a new A
record in your DNS zone. Give it a value of dev
and point it to the correct IP address. (If you have autodirect on your site, create a second A
record for that IP, and give it a related value like dev1
.)
Try to access your development site at dev.example.com
. If it works, then you've set up the DNS correctly.
At this point, you have only set up DNS. You still need to connect the site to QUIC.cloud, and enable the CDN (if desired).
Set up the LSCache Plugin¶
From the development site's WordPress Dashboard, navigate to LiteSpeed Cache > General. Either request or refresh the Domain Key, and then link the site to your QUIC.cloud account.
Check your QUIC.cloud Dashboard. dev.example.com
should be in your list of domains.
If you plan to use QUIC.cloud CDN, then navigate to LiteSpeed Cache > CDN, set QUIC.cloud CDN to ON
and press the Save Changes button.
Set up QUIC.cloud¶
From your QUIC.cloud Dashboard, select the dev.example.com
domain, and navigate to the Settings tab.
Verify that Server IP and Registered Sites are correct.
If you have autodirect on your site, and you've created an A
record for dev1
earlier in this setup, list dev1.example.com
as a Domain Alias.
If you plan to use QUIC.cloud CDN, then navigate to the CDN tab and enable the CDN.