Plesk
β
Requirements
Before configuring, ensure:
Your Concord CRM instance is successfully hosted on Plesk.
You have root or admin access to Plesk.
Your server supports Let's Encrypt extension (pre-installed in most Plesk environments).
Your domainβs DNS is managed via Plesk or you can modify DNS records.
SaaS module is installed and activated in Concord CRM.
π§ Goal
Enable multi-tenant SaaS routing with:
Automatic database provision for new tenants
Wildcard Subdomain Support (e.g.
tenant1.yoursaas.com
)Custom Domain Support (e.g.
clientdomain.com
)Automatic SSL (via Letβs Encrypt) for both
βοΈ Step-by-Step Configuration
1. Set Public Document Root
Ensure your web root for Concord CRM (usually /httpdocs/public
) is correctly set in Plesk:
Go to Websites & Domains > Hosting Settings
Set Document Root to:
This ensures all tenants and domains serve from the same entry point.
2. Configure Wildcard Subdomain Support
π A. Set Wildcard DNS Record
Go to Websites & Domains > DNS Settings
Add a record:
π This allows all subdomains like
tenant1.yoursaas.com
,tenant2.yoursaas.com
, etc. to resolve to your server.
π B. Enable Wildcard SSL (Let's Encrypt)
Go to Websites & Domains > SSL/TLS Certificates
Click Install Let's Encrypt
Select:
yoursaas.com
*.yoursaas.com
β (Wildcard)
Click Install
Note: Wildcard SSL requires DNS-based validation. Plesk handles this automatically if DNS is managed within Plesk.
3. Add Catch-All Apache/Nginx Configuration (Optional but Recommended)
Plesk internally manages Nginx/Apache, but if you're using custom server configuration via root SSH access:
For Apache:
For Nginx (If used):
4. Configure Custom Domain Support for Tenants
When a client wants to use a custom domain (e.g., clientdomain.com
):
πͺͺ Ask the Client to Point DNS
The client should set their A record like so:
Optionally:
π SSL Renewal & Maintenance
Letβs Encrypt in Plesk auto-renews SSL certificates every 60β90 days.
Ensure:
Port 80 and 443 are open
DNS continues to resolve correctly
You can verify SSL status via:
Plesk Dashboard
SSL Labs
π Troubleshooting
Subdomain doesnβt resolve
Check wildcard DNS record (*.yoursaas.com)
Custom domain shows default
Ensure it is added as a separate domain with correct document root
SSL error on custom domain
Ensure Letβs Encrypt is installed and domain points to the server IP
Last updated