EspoCRM Portal is a functionality that provides the access specific CRM data and functions for your customers and partners. Portals can either be sub paths or standalone domains.
EspoCRM supports standalone domains for EspoCRM portals using App Location Aliases (in the Management dashboard).
To setup a portal domain:
- Create the EspoCRM portal
- Specify a custom URL and custom ID for the portal. For example, https://acme.domain.com
- Add the domain in the Management dashboard.
- Add portal configuration rewrite rules in /app/data/apache/portals.conf using the File Manager:
RewriteCond %{HTTP_HOST} ^acme\.cloudron\.club$
RewriteRule ^client - [L]
RewriteCond %{HTTP_HOST} ^acme\.cloudron.club$
RewriteCond %{REQUEST_URI} !^/portal/acme/.*$
RewriteRule ^(.*)$ /portal/acme/$1 [L]
- Restart the app for the apache configuration changes to take effect.
- You can now visit https://acme.domain.com