Guides

Practical step-by-step instructions for developers and system administrators — installation, maintenance, PHP, projects and troubleshooting.

Custom web root directory

Alternative document root path within /web — wizard or Project settings.

  1. On create

    New project wizard: Document root field. Default is /web/public_html/<domain>/ — you can enter subfolder e.g. /web/public_html/example.com/public/.

  2. Path restriction

    Document root must be inside panel /web root directory. Paths outside /web are not allowed.

  3. Change after create

    Projects → project → Settings → Document root. After change update virtual host manually or regenerate it.

    Tip

    Laravel and similar frameworks often use public/ subfolder as document root.