Guide

From install to a live site

Install AI Hosting Panel on a Linux server, a Windows server or an Android phone, then build a live website. Each step says what you should see.

What is live today

PlatformWhat you needStatus
Linux serverUbuntu 22.04 or 24.04, Debian 13, AlmaLinux 9, Rocky Linux 9 or Fedora 45Live. One install command.
Windows server or PCWindows Server 2022 or Windows 10 Pro, 64-bit. Both are tested.Live. One install command.
Android phoneAndroid 10 or newer, 64-bitBuilt and checked. The app (APK): its phone test is still to run.
Android with TermuxTermux from F-Droid. Android 10 or newer, 64-bit.Tested on a phone. One install command in Termux. No Docker.
macOSA MacIn development. It will be tested on a Mac before release.

This guide covers what is live today. For the Termux steps and limits, read the install guide.

Before you start

  • A live site runs on a server with a public address: a Linux or Windows server, or a virtual private server. The phone runs the panel and manages that server.
  • A domain name you control, such as example.com. You point it at your server in the site steps below.
  • Open the ports at your provider's firewall as well as on the server: 80 and 443 for websites, 22 for SSH on Linux, and 25, 587 and 143 for mail if you use mail.

Install on Linux

  • A fresh server or virtual machine with nothing else installed on it.
  • Root access, or an account with sudo rights.
  • Internet access during the install. Every download is checked before it is used.
  • At least 2 GB of memory is recommended. The installer needs at least 1 GB.
  1. 1
    Get a fresh server

    Use one of the Linux systems in the table. A real server, a virtual machine (Hyper-V, VirtualBox or VMware) or your own hardware all work.

  2. 2
    Log in as root

    Connect with SSH and become root, or use an account with sudo rights.

  3. 3
    Run the install command
    curl -fsSL https://aihostingpanel.com/install.sh | sudo bash

    The installer downloads the encrypted release, checks its signature and installs the panel. This takes several minutes. At the end it says the panel is installed and that the API answers on port 2087.

  4. 4
    Create the first admin

    Run this command, with your own username and email in place of YOURNAME and YOU@EXAMPLE.COM. You type the password when asked. It is read from the keyboard, not from the command line.

    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 YOURNAME --email YOU@EXAMPLE.COM)
  5. 5
    Sign in

    Open https://your-server:2087 in a browser. Until you add a domain the panel uses a self-signed certificate, so accept the browser's warning. Sign in with the admin you created.

  6. 6
    Check the licence

    Open Licence. The licence is free for life. The page shows that it is active and when this server last reached the licence server.

Install on Windows

  • Windows Server 2022 or Windows 10 Pro, 64-bit, with current Windows updates. Docker needs a current Windows Server 2022 update.
  • Internet access during the install.
  1. 1
    Open PowerShell as administrator

    Right-click the Start button and choose Windows PowerShell (Admin), or Terminal (Admin).

  2. 2
    Run the install command
    irm https://aihostingpanel.com/install.ps1 | iex

    Wait for the install to finish. The installer downloads Node.js, nginx, PHP, MariaDB, PostgreSQL, Python, Git and WSL 2, and checks each file's SHA-256 before it uses it.

  3. 3
    Restart if Windows asks

    The first install switches on WSL 2 for Docker. If Windows asks for a restart, restart, then run the same command again. It reuses what is already installed.

  4. 4
    Create the first admin

    When the install finishes, the installer prints the lines that create the first admin. Paste them into the same window, put your username and email in place of ADMIN and EMAIL, and type the password when asked. The password is never put on the command line.

  5. 5
    Open the panel

    Open http://127.0.0.1/login on the server, or the server's address from another computer on your network. The panel is served on port 80. Keep it on your local network, or put it behind your own HTTPS proxy.

Install on Android

  • Android 10 or newer, 64-bit.
  • Allow installs from the source you downloaded the APK from, when Android asks.
  1. 1
    Download the APK

    Open the Android page on the phone and tap Download the APK. The file is about 61 MB.

  2. 2
    Check the SHA-256

    Compare the checksum of the file you downloaded with the SHA-256 value on the Android page. If they differ, delete the file and download it again.

  3. 3
    Install and open the app

    Allow the install when Android asks, install AI Hosting Panel, and open it.

  4. 4
    Create the owner account

    Use a username, an email and a password of 8 or more characters with upper and lower case letters and a digit.

  5. 5
    Open the Dashboard

    The free licence starts the first time the phone can reach the licence server.

What runs on the phone

  • The dashboard: the server's health at a glance
  • Files: folders and uploads
  • Users: roles and access
  • Sites: domains and settings
  • The free licence

What needs a Linux or Windows server

Hosting accounts, FTP, the firewall, services, backups and mail run on the server, not on the phone. To run a live site, use a Linux or Windows server.

Build a live site on Linux or Windows

  1. 1
    Point your domain at the server

    In your DNS provider (or Cloudflare), add an A record. The name is @ for the bare domain, or www for www.example.com. The value is the server's public IP address. Wait until a DNS lookup shows that address. This can take a few minutes, or longer.

  2. 2
    Create a hosting account

    Open Hosting, then Accounts, and create an account for the site. Give it a name, such as mysite. The account gets its own website folder, public_html.

  3. 3
    Add your domain

    Open Hosting, then Domains, and add your domain to the account. Use Subdomains & Redirects for other names, such as shop.example.com.

  4. 4
    Issue the certificate

    Open Hosting, then SSL/TLS, and issue a Let's Encrypt certificate for the domain. It works only when step 1 is done and ports 80 and 443 are open.

  5. 5
    Upload your site

    Open Hosting, then File Manager, and open the account's public_html folder. Upload your files, with an index.html at least. You can also create an FTP account under FTP Accounts and upload with an FTP client.

  6. 6
    Check the site

    Open https://your-domain in a browser. You should see your page with a padlock. If not, check step 1 (DNS), step 4 (certificate) and that index.html is in public_html.

  7. 7
    Add a database (optional)

    Open Databases, and create a MariaDB or PostgreSQL database with its own user. Use that name, user and password in your site's settings.

  8. 8
    Run a Node.js app (optional, Linux)

    On Linux, Applications runs Node.js apps behind nginx. On Windows Server, Applications runs Python apps.

  9. 9
    Set up email (optional)

    Open Email, then Mail. Add the domain and create mailboxes, then add the DNS records the panel shows for mail delivery and signing.

Keep it running

  • Updates: Settings and updates shows the panel's updates. Automatic updates are on by default. You can choose manual updates instead.
  • Backups: run a backup, set a schedule, and test a restore to a staging copy before you need one.
  • Watch the server: Monitoring shows the System check, Resources and logs, and the Service Manager.
  • Audit Log records every action and who did it.
  • Licence: the Licence page shows the state and when the server last reached the licence server.

Problems and fixes

  • The panel does not open: check the Service Manager under Monitoring. On Linux, run systemctl status aihostingpanel-api, and journalctl -u aihostingpanel-api -n 50 for the log.
  • The certificate fails: the domain must point at the server first (step 1), and ports 80 and 443 must be open.
  • Docker is not running after a Windows install: run Windows Update, restart the server, and run the install command again. The panel works without Docker.
  • The installer stops on a system it does not list: use one of the systems in the guide.
  • A feature the phone does not offer, such as the firewall or backups on the Termux install, runs on a Linux or Windows server. The install guide lists the limits.

Linux commands:

systemctl status aihostingpanel-api
journalctl -u aihostingpanel-api -n 50

Limits at a glance

FeatureLinuxWindowsAndroid app
Hosting accounts, domains and sitesYesYesNo
Let's Encrypt certificatesYesYesNo
MariaDB and PostgreSQL databasesYesYesNo
Node.js appsYesUse UbuntuNo
FTP accountsYesYesNo
Mail: domains, mailboxes and DKIMYesYesNo
BackupsYesYesNo
Firewall and servicesYesYesNo
Dashboard, files, users and licenceYesYesYes

The table shows the main features on each system. The Linux and Windows pages show each system's details.

Get help

Send us feedback or a bug report: mail@aicms.bd. For each system's details, see Linux, Windows and Android.