Domain & DNS Issues
Subdomain Shows "404 Not Found"โ
Problem: Visiting tenant.yoursite.com shows a 404 error.
Solutions:
Apacheโ
- Check that
ServerAlias *.yoursite.comis in your virtual host config - Make sure
mod_rewriteis enabled:sudo a2enmod rewrite - Restart Apache:
sudo systemctl restart apache2
Nginxโ
- Check that
server_name yoursite.com *.yoursite.com;is in your server block - Test config:
sudo nginx -t - Restart:
sudo systemctl restart nginx
cPanelโ
- Verify the wildcard subdomain exists in cPanel โ Domains
- Make sure it points to the correct directory
DNSโ
- Verify the wildcard DNS record exists:
*.yoursite.com โ your server IP - Check propagation at dnschecker.org
- Wait up to 48 hours for full propagation
Subdomain Shows Wrong Website / Default Pageโ
Problem: Subdomains show your hosting provider's default page instead of the CRM.
Solutions:
- The wildcard subdomain is pointing to the wrong directory
- In cPanel: Edit the wildcard subdomain to point to your Perfex CRM root directory
- In Apache/Nginx: Make sure
DocumentRoot(Apache) orroot(Nginx) points to your Perfex installation
Custom Domain Not Workingโ
Problem: A tenant's custom domain doesn't show their CRM.
Solutions:
- Check DNS: Use dnschecker.org to verify the domain points to your server IP
- Check web server: Make sure your Apache/Nginx is configured to accept the domain
- Check the module: Verify the custom domain is correctly entered in the tenant's settings
- Wait for propagation: DNS changes can take up to 48 hours