Skip to content

Adding a Development Site to

It may be tempting to just add your Development or Staging site as a Domain Alias in your 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. 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 and you want to connect your cloned development site to as

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 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, 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 account.

Check your Dashboard. should be in your list of domains.

If you plan to use CDN, then navigate to LiteSpeed Cache > CDN, set CDN to ON and press the Save Changes button.

Set up

From your Dashboard, select the 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 as a Domain Alias.

If you plan to use CDN, then navigate to the CDN tab and enable the CDN.

Last update: February 3, 2024