# Setup Custom-domain

### **STEP 1: Customer** save custom-domain in landing page

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MYD5FrAnrC4uEdopSaV%2F-MYD7-lHPMoJPQZMTKDd%2Fzillapage_customdomain.png?alt=media\&token=8a93acf2-f97b-480f-a76b-5f92cefd508e)

### **STEP 2: Customer** add a DNS record on their domain

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MYD5FrAnrC4uEdopSaV%2F-MYD733E0I4kKFbUKv5K%2Fzillapage_customdomain2.png?alt=media\&token=f16dfe3e-d67f-424a-a3c5-02c030e861d9)

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

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MYD5FrAnrC4uEdopSaV%2F-MYD74UZrKupQJrfB1FU%2Fzillapage_customdomain3.png?alt=media\&token=dc0a6eea-eb65-4a16-a799-ff3310809582)

> 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 admin@admin.com
    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>
```
