MJ HOSTING

Docs

Getting started in a few minutes.

Host a plain HTML website

  1. Create a server and open the Project tab.
  2. Upload your ZIP, or the files themselves (index.html, css, js, images).
  3. Press Deploy. When the status shows Online, open your public link /w/<id>/.
  4. Use Crawl to find broken links and missing files.

Use relative paths such as css/style.css, not /css/style.css, because your site lives under its own link.

Run a Discord or Telegram bot

  1. Create a server with Node.js or Python and upload your bot, or ask the AI to write it.
  2. Put the token in Environment (for example BOT_TOKEN). It stays private and is masked in logs.
  3. Check that the main file and start command are right in the Project tab, then Start.
  4. Watch Logs. A line like "Logged in" or "Bot started" means it is connected.

Let the AI build or fix a project

Open AI Assistant, describe the project (or pick one on the Templates page). The AI shows a plan, you approve it, it creates the server and writes the files, and asks you for any secret values in a private form. It never sees those values.

Changes that modify your project wait for your Approve button. Every file edit keeps a backup and can be rolled back.

Use your own domain

Open your website's Domain section, enter your domain, point its DNS A record to this server's IP address and add the TXT record shown there, then press Check DNS.

HTTPS (SSL)

The panel does not hold certificates itself. Use one of these in front of it, then set CUSTOM_DOMAIN_HTTPS=true so the panel shows https:// links:

  1. Cloudflare (easiest): add the domain to Cloudflare, create the A record (proxied, orange cloud) to this server, set SSL/TLS mode to Flexible (or Full if your server has a certificate). Nothing to install.
  2. Caddy on the same machine (automatic Let's Encrypt for every verified domain):
    {
      on_demand_tls { ask http://127.0.0.1:PANEL_PORT/api/domain-ok }
    }
    https:// {
      tls { on_demand }
      reverse_proxy 127.0.0.1:PANEL_PORT
    }
    Replace PANEL_PORT with the panel's port. Ports 80 and 443 must be open. The ask address answers only to the same machine and only for domains that are verified here.

HTTPS needs ports 80/443 and real DNS, so it cannot work on hosts that only expose one port.

Troubleshooting

  • Failed at Installing: open the deploy log, check the package name or your package.json.
  • Failed at Checking: your app must listen on the PORT environment variable.
  • Blank site: check the Crawl report for missing CSS or JS and absolute paths.
  • Bot offline: look at Logs for "invalid token" and re-enter the token.