Setup Custom-domain

This document guides you through setting up subdomains for customer landing page

STEP 1: Customer save custom-domain in landing page

STEP 2: Customer add a DNS record on their domain

STEP 3: Admin add new add-on domain with customer domain on cpanel

You can skip to step 3 with a VPS (Apache)

Config your VPS Apache with this VirtualHost. ( Change your domain yourdomain.com and your app path: /var/www/your_app_path)

<VirtualHost *:80>
#ServerAdmin [email protected]
ServerName yourdomain.com
ServerAlias *
DocumentRoot /var/www/your_app_path
<Directory /var/www/your_app_path>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>