Join our Beta Program today

Getting Started with HostSecure

Everything you need to go from a bare Linux server to a running, revenue-ready hosting business. This guide walks you through what to prepare before you install, how the install and the Setup Wizard work, and the handful of decisions — products, pricing, domains, currency and tax — worth thinking through up front.

Reading time ~10 minutes · a typical first setup takes an afternoon, most of it gathering the accounts below.

Overview 1 · What to prepare 2 · Install 3 · Setup Wizard 4 · Plan your store 5 · Secure it

How it works, in four phases

1

Prepare

Gather your server, licence key, DNS details, and the third-party accounts you'll connect — registrar, payments, fraud screening, mail. Ten minutes of prep saves surprises later.

2

Install

One command installs the whole stack — panel, web, mail, DNS, firewall, WAF and malware scanning — and hands you a working server in minutes.

3

Configure

The Setup Wizard walks you through identity, DNS, email, payments, tax, currency and your product catalogue — saving as you go, so you can stop and resume.

4

Launch

Harden the server, add your first products and domains, and open your storefront. You're taking orders.

1 · What to prepare in advance

HostSecure integrates with a few outside services so you can register domains, take payments, screen for fraud and deliver mail reliably. None are required to get a server running, but having the ones you want before you reach the Setup Wizard means you can paste a key instead of stopping to sign up. Here's the full list, what each is for, and who we recommend.

WhatNeedWhy / what to have readyRecommended
A Linux server Required A fresh Ubuntu server on an ext4 filesystem, with root access. 2+ vCPU / 4 GB RAM is a sensible start. Any reputable VPS/dedicated provider — or order one of our Power VPS or Cloud servers.
Your HostSecure licence key Required Identifies your install. Free and paid tiers both start here — register to get your key. Register for a licence · see tiers & pricing.
A domain & DNS control Required A hostname for the panel, plus the ability to set nameservers and a PTR / reverse-DNS record (your host's control panel) — important for mail delivery. Your existing registrar; your server provider's panel for the PTR record.
Outbound mail relay Recommended Keeps the mail your server sends (invoices, resets, customer mail) out of spam folders. Have an SMTP API key / SMTP credentials ready. Mailgun (recommended) or any SMTP relay — SMTP2GO, SendGrid, Amazon SES.
Payment gateway Recommended To take card payments on your storefront. Have your API keys ready. (You can also start with manual/offline payments.) Stripe (recommended) or PayPal; a custom gateway is also supported.
Fraud screening Recommended Scores orders so you can auto-hold risky ones. Have an API/account key ready. MaxMind minFraud.
Domain registrar API Optional Only if you want to sell domain registration/transfer to your customers. Have your reseller API credentials ready, plus your cost/markup plan. Your registrar's reseller API (e.g. eNom).
Off-server backup storage Recommended Somewhere safe off the box for backups. An S3-compatible bucket + access keys. You can also resell managed storage to your own customers. Any S3-compatible provider — Wasabi, Backblaze B2, Amazon S3.
Exchange-rate API Optional Only if you'll price in more than one currency and want live conversion. A free API key is enough. Any exchange-rate API provider.
Cloudflare Optional If you prefer to run DNS through Cloudflare rather than the built-in nameservers. Have an API token ready. Cloudflare account + scoped API token.
Company details & branding Recommended Your business name, support contact, address (for tax/invoices) and a logo — the wizard asks for these first. Your own branding assets.

Required to get a server running · Recommended for a real storefront · Optional depending on what you sell. You can add any of these later — the wizard never blocks on them.

2 · Install HostSecure

Three steps to a live server

  1. Register your licence and note your key — register here.
  2. Point your panel hostname at the server's IP (an A record), so the panel can get an SSL certificate on first run.
  3. Run the installer as root on the fresh server: curl -sSL https://hostsecure.org/install.sh | sudo bash

The installer asks a short series of questions (hostname, licence, admin login), then builds the full stack. When it finishes it prints your admin URL and your new SSH port — SSH is moved off port 22 for security, so note the port it shows you.

What gets installed

  • The control panel & customer area
  • Web (Apache + multi-PHP), MySQL/MariaDB per account
  • Full mail stack (Exim, Dovecot, Roundcube webmail, DKIM/SPF/DMARC)
  • DNS nameservers
  • Firewall, WAF, malware scanning, Fail2Ban — on by default

3 · The Setup Wizard, step by step

On first login the dashboard invites you into the Setup Wizard. It saves as you leave each step, so you can stop, gather something, and resume where you left off. Here's every step, so nothing is a surprise — this maps one-to-one to the "what to prepare" list above.

1
Company & contact
Your business name, support email/phone, address. Used on invoices and customer mail.
2
Licence
Confirm your licence key and tier.
3
Server role
Standalone, or part of a multi-server fleet.
4
Hostname
The panel's fully-qualified hostname.
5
DNS
Your nameservers (built-in or Cloudflare).
6
Email relay
Your SMTP relay (Mailgun etc.) for reliable outbound mail.
7
Security
The minimum password strength for every account.
8
Backups
Local backups, plus optional off-server S3 storage.
9
Currency
Your base currency and any others you'll display.
10
Payments
Stripe / PayPal / offline. Paste your gateway keys.
11
Tax
Your tax rules by country/region (see the tutorial below).
12
Domains
Connect your registrar API to sell domains (optional).
13
Catalogue
Pre-load a ready-made set of products & packages to edit, or start empty.
14
Profile
What you offer (shared, VPS, reseller, dedicated).
15
Finish
A summary of everything — and a reminder to harden the server before you go live.

4 · Planning your store

A few decisions are worth thinking through before you open for business. None are permanent — you can change them any time — but getting them roughly right up front saves re-work.

Products, packages & pricing

A product is a thing you sell (a hosting plan, an SSL, an email plan); a package is the set of resource limits behind a hosting product (disk, bandwidth, accounts, databases). Decide your tiers — e.g. a small / standard / corporate ladder — and the monthly and yearly price of each, in each currency you sell in.

Shortcut: let the wizard pre-load a sample catalogue at step 13, then edit the names, limits and prices to taste rather than building from a blank page.

Domains: selection & pricing

If you'll sell domains, decide which TLDs you want to offer (.com, .net, your country's TLD, a handful of popular new ones) rather than all of them. Your cost comes from your registrar reseller contract; you set the markup and the customer price, per TLD, for register / transfer / renew.

Have your registrar API credentials ready (wizard step 12) so pricing can import.

Currency selection

Pick a base currency — the one your accounting is in. You can display and charge in additional currencies; add an exchange-rate API key if you want live conversion, or set fixed prices per currency yourself.

Tip: price your core plans explicitly in each currency you sell in, so a customer never sees a rounded conversion where a clean price belongs.

Tax configuration

Set your tax rules by country and region — the rate, whether prices are shown tax-inclusive or tax-added, and which customers it applies to. Your company address (step 1) and the customer's location drive which rule fires.

If you're unsure of your obligations, start with your home jurisdiction and refine — the tax reports are built to be filable, split per currency.

5 · Secure it before you go live

HostSecure ships with the firewall, WAF, malware scanning and intrusion prevention already on. A few operator steps finish the job — the Setup Wizard's final screen reminds you, and your panel's dashboard links straight to them.

SSH keys

Add your public key, then disable password login — the panel does this for you from the SSH Keys page.

Server hardening

Reduce the OS attack surface by blocking kernel modules a hosting server never uses — with a live in-use check so nothing you rely on breaks.

Security audit

Run the built-in audit to catch anything left open, and set your PTR record for clean mail delivery.

Ready to start?

Register for your licence, point a hostname at a fresh server, and run the installer. You'll be taking orders the same afternoon.

Register for a licence See pricing

Questions first? Talk to us.