New in 1.0: partner licences with Stable and LTS updates, webmail and Files, and alerts on WhatsApp.Changelog
Guides

How to start a web hosting business

Choose a server, install a hosting control panel, set up nameservers and packages, take payments and look after customers, step by step.

Published

A small hosting business needs fewer parts than it looks: one good server, a control panel your customers can use alone, your own nameservers, a few packages, a way to take payments, and a plan for support and backups. This guide walks through each part and links to the step-by-step pages of the documentation.

Decide who you sell to

Start with the people you already know. Web designers and agencies want staging copies, WordPress tools and Git deploys. Local businesses want a website, email on their own domain and someone to call. Other hosts want to resell under their own brand. Who you sell to decides your packages, your prices and how much support you offer, so write it down before you buy anything.

Choose the server

Hfog Panel installs on a freshly installed 64-bit Linux server: Ubuntu LTS, Debian, Rocky Linux, AlmaLinux, CentOS Stream or CloudLinux. It needs at least 1 GB of memory and 5 GB of free disk; 2 GB of memory or more is better, and 4 GB or more for many sites, spam filtering and apps. Containers are not supported: choose a virtual server (KVM) or a dedicated server, and make sure your provider lets you set the reverse DNS of its IP address, which email needs.

See System requirements.

Install the control panel

Add your domain's DNS records, then run the one-line install command as root. Within a minute it shows a setup link, and the rest happens in your browser while the installer sets up the web server, PHP, databases, email, DNS, the firewall and free SSL. You don't need a licence key to install: every feature can be tried free before you pay.

See Install Hfog Panel and DNS setup.

Run your own nameservers

With ns1.yourdomain.com and ns2.yourdomain.com, customers point a domain at you once and the panel makes and keeps every DNS record for their websites and email. Add the glue records at your domain's registrar, set the names in the panel, and later put the second nameserver on another machine so DNS keeps answering when the main server is down.

See Set up your own nameservers.

Make your packages

A package is what a customer buys: disk, domains, mailboxes, databases, CPU and memory, and a monthly price. Start with three, and use feature lists to give cheaper packages fewer tools. Switch on CPU and memory limits so one busy site can't slow down the others.

See Packages and Feature lists.

Take payments

Connect Stripe for cards and PayPal if you want it, fill in your invoice details and open the order page. A customer then picks a package, pays, and gets their account, welcome email and Control Panel without you doing anything. VAT by country, more currencies, discount codes, reminders for unpaid invoices and referrals are there when you need them.

See Sell hosting with packages and online payments and Set up billing.

Let others sell for you

Resellers, such as agencies and web designers, sell hosting from your server under their own name. They get the Reseller Panel, make their customers' accounts from your packages within the limits and pools you set, and can show their own logo, panel address and nameservers.

See Become a reseller host.

Look after your customers

Customers do most things themselves in the Control Panel. For the rest, offer support tickets and live chat, publish a status page, and watch your websites so you hear about an outage before your customers do.

See Uptime monitoring and a public status page.

Keep backups off the server

Backups on the same server don't help when the server is lost. Copy them every night to storage somewhere else, and test a restore before a customer needs one.

See Back up off-server, then Secure the server in 15 minutes.

Try it on your own server

Install Hfog Panel and try every feature free for 30 days.