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
Arecord in your DNS zone. Give it a value ofdevand point it to the correct IP address. (If you have autodirect on your site, create a secondArecord for that IP, and give it a related value likedev1.) - 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 > Online Services, press the Enable QUIC.cloud services button, and follow the prompts.
- Check your QUIC.cloud Dashboard.
dev.example.comshould be in your list of domains.
Set up QUIC.cloud¶
- From your QUIC.cloud Dashboard, select the
dev.example.comdomain, 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
Arecord fordev1earlier in this setup, listdev1.example.comas a Domain Alias.