Whenever you create a tenant, a domain name is generated for it under wpcs.io.

You or your clients obviously don’t want to go live with a domain name that looks like https://mytenant-f4f39714.tenants.myproduct-8250dbae.wpcs.io, so you need to configure your own domain.

After you’ve bought a domain name, you’ll have your site up and running in four steps.

Step 1: Add domain in the Console

Add the domain name in WPCS by clicking Actions -> Add domain and filling out the form. Make sure you fill in your domain exactly as you bought it, without www or any other subdomains.

Step 2: Add A records

Go to your domain provider and add 2 A records for the domain’s DNS. For example, if your domain name is mynewdomain.com, you’d add:

  • an A record for mynewdomain.com. with the value
  • another A record for mynewdomain.com. with the value

Step 3: Verify domain in the console

After a while (it can take up to 24 hours for the DNS records to be available worldwide), go back to WPCS and hit the Verify button. This will check whether the domain name is configured properly to be used for your tenant.

Step 4: Set as Main

When your domain is verified, hit the Set as main button. This will set the domain as the main domain for that WordPress site. You don’t have to worry about doing a search-replace on the site’s database, we handle all that for you.