{% extends "base.html" %} {% import "_macros.html" as m with context %} {% import "_access.html" as acc %} {% block title %}{{ site.domain }}{% endblock %} {% block content %} {% set scheme = "https" if site.ssl else "http" %}
{{ m.icon("up") }}Websites

{{ site.domain }}

{{ site.type_label }}{% if site.php_version %}, {{ "PHP " if site.type not in ("node", "python") }}{{ site.php_version }}{% endif %}{% if site.container %}, in its own container{% endif %}. {% if site.type != 'proxy' %}Files live in {{ site.root if site.container else "sites/%s/public" % site.domain }}.{% endif %}

{% if site.container and not site.suspended %}{{ m.power(site) }}{% endif %} {{ m.icon("link") }}Open site {% if site.type != 'proxy' %}{{ m.icon("folder") }}Files{% endif %}
{% if site.container and site.suspended %}
The account is suspended. Its websites are off until the account is restored.
{% elif site.power == "paused" %}
This website is paused. Visitors see a “temporarily unavailable” page. Its databases keep running, scheduled tasks wait. Press Resume to bring it back.
{% elif site.power == "stopped" %}
This website is stopped. Visitors see a “temporarily unavailable” page. Its databases and scheduled tasks are off. Files, SFTP, FTP and backups still work.
{% endif %} {% if moved %}

Moved into a container

{{ moved.created|ago }}{% if moved.report.pause is defined %}, with a pause of {{ moved.report.pause }} seconds{% endif %}. The old files and databases are still on the server.

{% if moved.dbs %}

Databases copied: {% for d in moved.dbs %}{{ d.name }}{% if not loop.last %}, {% endif %}{% endfor %}. Host name for the website: db (MariaDB) or postgres.

{% endif %} {% if moved.report.files %}

Settings changed in {% for f in moved.report.files[:8] %}{{ f }}{% if not loop.last %}, {% endif %}{% endfor %}{% if moved.report.files|length > 8 %} and {{ moved.report.files|length - 8 }} more files{% endif %}.

{% endif %} {% if moved.report.left %}

These files still mention the old folder. Check them: {{ moved.report.left[:6]|join(", ") }}

{% endif %}

Check the website: pages, sign-in, forms, uploads. Then delete the old copy. Going back loses what was changed since the move.

SSH, SFTP and FTP: press New key next to the user below to get the credentials.

{{ m.csrf_field() }}
{{ m.csrf_field() }}
{% elif not site.container and site.type != "proxy" %}

Move into a container

This website was made before version 2.0 and runs directly on the server. In a container it is isolated from the others, with its own web server, database and SSH, SFTP and FTP users.

{{ m.icon("box") }}Check and move
{% endif %}

HTTPS

Free certificates from Let's Encrypt, renewed automatically.

{% if site.ssl %}{{ m.icon("lock") }}On{% else %}Off{% endif %}
{% if site.ssl %}
Valid until
{{ site.cert_expires or "unknown" }}
Covers
{{ ([site.domain] + site.aliases)|join(", ") }}
{{ m.csrf_field() }}
{{ m.csrf_field() }}
{{ m.csrf_field() }}
{% else %}

Point the A record of {{ site.domain }}{% if site.aliases %} and its other names{% endif %} at this server, then issue the certificate. Names that do not point here yet are skipped.

{{ m.csrf_field() }}
{% endif %}
{% if site.type in ('php', 'php_apache') %}

Folder

Where the files for this site live.

Path
{{ site.root }}
Account
{{ site.owner }}
IP address
{{ site.ip or ipc.main }}
PHP
{{ site.php_version }}{% if not site.container %}, {{ "through Apache (.htaccess)" if site.type == "php_apache" else "PHP-FPM" }}{% endif %}
{% if is_admin and (ipc.choices|length > 1 or site.ip) %}
{{ m.csrf_field() }}
{% endif %}
{% else %}

Folder

Where the files for this site live.

Path
{{ site.root }}
Account
{{ site.owner }}
IP address
{{ site.ip or ipc.main }}
{% if is_admin and (ipc.choices|length > 1 or site.ip) %}
{{ m.csrf_field() }}
{% endif %}
{% endif %}

DNS records

What the domain needs to open this website, compared with what it has now.

TypeNameValueNowWhat to do
Asking the domain's name servers…
{% if site.container %}

Container

Isolated from every other website: own network, read-only system, no administrator rights inside.

PartStateMemoryCPURunning since
Reading the state…

SSH, SFTP and FTP

Server {{ ac.host }}. SSH and SFTP on port {{ ac.port }} with a key, FTP on port 21 with a password and encryption.

{% for u in ac.users %} {% else %}{% endfor %}
User nameConnects withMayFolder
{{ u.username }}{{ m.copy(u.username) }}{% if not u.active %}Off{% endif %}{% if u.expires_on %}until {{ u.expires_on }}{% endif %} {% for k in ("ssh", "sftp", "ftp") if u[k] %}{{ k|upper }} {% endfor %} {% if u.rights|length == ac.rights|length %}Everything{% elif u.rights == ["download"] %}Read only{% else %}{{ u.rights|join(", ") }}{% endif %} {{ u.folder or "/" }}
{{ m.csrf_field() }}
{{ m.csrf_field() }}
No users yet.
{% for u in ac.users %} {% endfor %} {% endif %} {% if site.type in ('php', 'php_apache') %}

Install an app

Downloaded from the official source and set up in one go: database, files and an admin login.

{% if last and last.status == "done" and last.result.app %}

{{ last.result.app }} is installed{% if last.result.version %} ({{ last.result.version }}){% endif %}. {% if last.result.finish %}{{ last.result.finish }}{% endif %}

Site
{{ last.result.url }}
Admin
{{ last.result.admin_url }}
{% if last.result.user %}
Login
{{ last.result.user }}
{{ m.copy(last.result.user) }}{% endif %} {% if last.result.password %}
Password
{{ last.result.password }}
{{ m.copy(last.result.password) }}{% endif %} {% if last.result.db %}
Database
{{ last.result.db }}
{% endif %}
{% if last.result.password %}
{{ m.csrf_field() }} Save the password, then remove it from the panel.
{% endif %}
{% elif last and last.status == "failed" %}

The last install failed: {{ last.result.error }}

{% endif %}
{% for a in catalog.apps %}
{{ m.csrf_field() }} {{ a.letter }} {{ a.name }}{{ a.category }}{{ a.about }}
{% endfor %}
{% if site.container %}

The database is created inside this website. Drupal, OpenCart, PrestaShop and Grav switch the website to Apache, because they rely on .htaccess.

{% elif not catalog.apache %}

Drupal, OpenCart, PrestaShop and Grav rely on their .htaccess rules. Turn on the Apache backend on the Web server page to install them.

{% endif %}
{% endif %} {% if site.type != 'proxy' %}

Build a page with AI

Describe the site and get a finished, responsive page to preview before anything is published.

{% if aicfg.own %}{{ aicfg.own.model }}{% elif aicfg.server and (aicfg.server.available or aicfg.server.provider) %}Server AI{% endif %}
{% if drafts.since %}
The AI is writing a page, started {{ drafts.since|ago }}. You can leave this page; the draft appears here when it is ready.
{% elif drafts.error %}
The last page was not written. {{ drafts.error }}
{% endif %} {% if drafts.list %}
{% for d in drafts.list %} {% endfor %}
Drafts, kept for 24 hoursMadeSize
{{ ("Change to " ~ d.file) if d.file else ("Changed page" if d.change else "New page") }}{{ d.title }} {{ d.created|ago }}{{ d.size|size }} Open
{{ m.csrf_field() }}
{% endif %} {% if aicfg.own or (aicfg.server and (aicfg.server.available or aicfg.server.provider)) %}
{{ m.csrf_field() }}
Usually one to three minutes. The draft opens by itself and stays in the list here.
{% else %}

Connect an AI model first in Your login / AI assistant{% if is_admin %} or for everyone in Settings{% endif %}.

{% endif %}
{% endif %}

Settings

Changes are tested before they go live. A broken config is rolled back.

{{ m.csrf_field() }}
{% if site.container %}
{% for kind, list in (("php", opts.containers.php), ("node", opts.containers.node), ("python", opts.containers.python)) %}
{% endfor %}
{% if is_admin %}
{% endif %}
{% else %}
{% endif %}
Separate with commas. Reissue the certificate after adding names.

Logs

The last 200 lines.

{{ m.icon("refresh") }}Refresh
{% if logs.lines %}
{{ logs.lines|join("\n") }}
{% else %}

This log is empty.

{% endif %}

Delete website

Removes the {{ "container, its databases and logins" if site.container else "server config" }}, the certificate and the logs.

{{ m.csrf_field() }}
{% endblock %}