# Setup Custom-domain

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

![](/files/-MYD7-lHPMoJPQZMTKDd)

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

![](/files/-MYD733E0I4kKFbUKv5K)

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

![](/files/-MYD74UZrKupQJrfB1FU)

> 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>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zillapage.com/install-and-setup/setup-custom-domain.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
