2026-11-29
This is the whole path, in order: install, first admin, sign-in, a hosting account, a domain, the files, HTTPS and a final check. Each step says what to run or click, what you should see, and how to check it.
Every key, token and password below is a placeholder. Put your own values in, and never write a real secret into a file, a chat or a report. Use the panel only on a machine you own or are allowed to change: the installer installs services, opens firewall ports and creates folders.
1. Choose where the panel runs
- A Linux server. Ubuntu 24.04 is the system that was run live. The installer also supports Debian, Linux Mint, AlmaLinux, Rocky Linux and Fedora. You need root, a public IP address and a domain you control.
- A Windows PC or server, 64-bit: Windows Server 2022 or Windows 10 Pro. You need PowerShell opened as Administrator.
- An Android phone with Termux. One hosting account per phone. The public address goes through a Cloudflare tunnel, and the tunnel does TLS. A fresh install of version 1.2.56 was tested on 29 November 2026.
2. Install the panel
Run the one command for your platform. The installer does the rest and prints what to do next.
# Linux, as root
curl -fsSL https://aihostingpanel.com/install.sh | sudo bash
# Windows, in PowerShell opened as Administrator
irm https://aihostingpanel.com/install.ps1 | iex
# Android, in Termux on the phone
curl -fsSL https://aihostingpanel.com/install-android.sh | bashWhat each installer does, and what it prints at the end:
- Linux: the installer checks the system and that it runs as root, installs its services and the sealed release, and checks the SHA-256 of the installer client before it runs. It ends with `AI Hosting Panel <version> is installed`. A mismatch stops with `Installer client check FAILED. Nothing was installed.`
- Windows: the installer checks the Windows version, installs its parts (Node.js, nginx, PHP, MariaDB, PostgreSQL and more), registers the services, and prints the panel address and the first-admin command.
- Android: the installer prints `installed AI Hosting Panel <version>` and then the first-admin command.
3. Create the first admin
Create the first admin once on each panel. The password is typed when asked. It never goes on a command line, into a script or into a file.
read -rs PW && printf '%s\n' "$PW" | (set -a; . /etc/aihostingpanel/aihostingpanel.env; set +a; node /opt/aihostingpanel/api/dist/cli.mjs create-admin --username ADMIN --email EMAIL)- Linux: the installer prints the first-admin command at its end. Run it on the server, and replace ADMIN and EMAIL with your own values.
- Windows and Android: run the first-admin command that the installer printed at its end.
4. Sign in and check the server
# Linux
curl -fsSk https://127.0.0.1:2087/api/v1/health
# Windows, in PowerShell
Invoke-RestMethod http://127.0.0.1:2087/api/v1/health
# Android, in Termux (prints the status code)
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:2087/api/v1/health- Open the panel. On Linux it is https://<server>:2087; accept the self-signed certificate until a real one is installed. On Windows it is http://<server>/ on port 80. On the phone, open http://127.0.0.1:2087 in the phone's browser.
- Sign in with the admin's sign-in name and password. If two-factor sign-in is on, its code is asked too.
- Open the System check page. On a new install it lists the checks that need your decision, such as choosing a default AI provider for the AI console, and whether to check for updates now. Read every warning and decide whether to act on it.
- From the server itself, check the health address. It should answer ok with the version, or 200 on the phone.
5. Create a hosting account
- In the panel, go to the accounts list and create a new account. The name is 3 to 32 lowercase letters or digits. It starts with a letter and has no hyphen or underscore, for example `shopdemo`. Enter the primary domain, for example `example.com`.
- Check: the account is listed, and its home folder has a `public_html` folder for the site.
- Creating an account does not attach the domain. Step 6 does that.
- For an AI agent: the tool is create_account, with name and domain. It needs the accounts.manage scope.
6. Attach the domain
- Point the domain at the server before visitors come. On Linux or Windows, add an A record with the server's public IP address. On the phone, point the domain at the tunnel's hostname. The DNS post shows the records.
- Add the domain to the account in the panel, or call add_domain with the domain and the accountId. The panel writes the web server's virtual host. Until HTTPS is set up (step 8), the domain is served over HTTP only.
- A DNS record can only be changed in a zone the panel holds. If the domain has no zone, add one on the DNS Zone Editor first.
- Check: the domain is listed, and a request to http://<domain>/ reaches the account's public_html folder.
- A subdomain such as shop.example.com is added under an attached domain with add_subdomain. It takes the full name and the parent domain's id, and its folder is public_html/shop.
7. Publish the site
- Upload index.html into public_html with the File Manager. An agent calls write_account_file with the path relative to public_html (for example index.html) and the file content in base64, up to 20 MB.
- For a folder of files, zip it, write the zip with write_account_file, then call unzip_account_file. The archive unpacks in its own folder. Links and paths that leave the folder are refused.
- Set the permissions with chmod_account_file: 644 for files and 755 for folders.
- Check: list_account_files shows the files, and http://<domain>/ shows your page.
- Deleting a file or folder from public_html queues an approval. Nothing is removed until a person approves it on the Approvals page.
8. Turn on HTTPS
- Linux: the domain must already serve HTTP and point at the server. Issue a Let's Encrypt certificate in the panel, or call issue_certificate with the domain's id and the owner's contact e-mail. Then call list_certificates. It should show the source letsencrypt and more than 80 days left. Open https://<domain>/ and check the certificate.
- Windows: the installer includes certbot for Let's Encrypt, through the site's web root. Check the result the same way.
- Phone: Let's Encrypt is not used. The Cloudflare tunnel does TLS between the visitor and the phone. The mobile post shows the tunnel steps.
9. Add what the site needs (optional)
- A database: create it in the panel or with create_database. The tool returns the password once. Save it in a password manager at once. Never write it into a file, a log or a report. Dropping a database queues an approval.
- On the phone, the database tested was SQLite. Create it, then check a change with a dry run before you apply it.
- FTP: enable it in the panel or with enable_ftp, which returns the password once. Linux uses FTP over TLS on port 21, with passive ports 40000 to 40100. The phone uses port 2121 over TLS. Disabling FTP queues an approval.
- Apps: the Python app post covers the code folder, logs, cron and preview. On the phone, Node apps use ports from 3000. A restart can switch an app to its other port.
- Mail: the mail posts cover the DNS records and the checks. The Linux installer opens ports 25, 587 and 993 for mail.
10. For an AI agent: connect safely
- A person creates the token on the API Tokens page. They give it a name, choose only the scopes the job needs, and copy it once. A token starts with nxp_.
- The person gives the token to the agent through the agent's secret store. Never paste it into a chat, a file or a report.
- The MCP address is https://<server>:2087/mcp. Send the token as `Authorization: Bearer nxp_...`. The endpoint lists 147 tools. The public agent guide is at https://aihostingpanel.com/llms.txt.
- Start with server_health and the read tools. Read before you write, and check the result after every change.
- A token does not list approvals. The request id in the tool's answer is the handle, and a person checks the Approvals page.
- Firewall changes are made by a person on the Firewall page. A token cannot make them, so the token form does not offer the server.manage scope.
- Permanent actions, such as terminating an account or purging its files, need a person's decision. Ask first.
- When the job is done, the person revokes the token on the API Tokens page.
11. Check the finished site
- The health address answers ok (or 200 on the phone).
- The System check shows no failure. Every warning is read, and it is either fixed or accepted on purpose.
- The domain answers over HTTP, and over HTTPS on Linux with a valid certificate.
- The page shows your content, and the files have the right permissions.
- The audit log shows the actions you took, each with its outcome.
- The Approvals page has nothing pending that you did not expect.
12. What was tested
- Ubuntu 24.04, live, 28 November 2026, panel version 1.2.54 (it had updated itself from 1.2.53): health, every sidebar page, the MCP endpoint with 147 tools, the read tools, the scope check, an account, a domain, a subdomain, files and unzip, a site over HTTP, a MariaDB database (dropping it queued an approval), FTP (disabling it queued an approval), the cron refusal, the approvals page, the audit log and certificate status. Certificate issuing is covered in step 8.
- Android phone, 29 November 2026, fresh installs of 1.2.56-termux.1: first with the router route (sign-in, the System check, a site, a Node app, SQLite, a 30-minute background run, stop and start, and a second installer run that kept the data), then with the Cloudflare Tunnel route (the public address answered 200 through the tunnel, and the local site answered 200).
- Windows: a fresh install of 1.2.56-windows on a clean Windows 10 Pro virtual machine passed on 30 November 2026: the installer, the health check, the services, the mail server, port 80, an administrator's sign-in through the API, and the automated checks that ran (17 of 17). Windows Server 2022: the first install passed on 30 November 2026.
- Linux 1.2.56 was installed clean on six systems in a lab on 29 November 2026 (Ubuntu 24.04, Linux Mint 22.3, Debian 13, AlmaLinux 9.9, Rocky Linux 9.9 and Fedora 45). A live Ubuntu server updated itself to 1.2.56 after that. The panel checks for updates every hour.
- AlmaLinux 9.8 with panel 1.2.58, 4 December 2026: the install and the first sign-in passed, and the functional test covered the panel's pages, the API, the tools over MCP, websites, databases, Git, Node.js apps, the firewall and a reboot. A clean install of panel 1.2.60 on AlmaLinux 9.8 passed on 6 December 2026.
13. Known limits
- One hosting account per phone. The phone runs static sites, Node apps and SQLite databases. Docker runs on the servers.
- A feature that needs a Linux or Windows server says so in the answer, and names the feature.
- The phone suits a personal site or a test. Keep it charged and awake, and the sites stay online.
- The panel does not e-mail a password reset link. A person with access to the server resets it with the command shown in the reset post.
- Every action is written to the audit log, with its outcome.
The test report of 29 November 2026 lists each check and its result.
