Skip to content
MinniHost Guides

How to Host a WordPress Website: Step by Step

By Posted Topic: Hosting

To host a WordPress website, choose a host that meets WordPress.org's requirements, point your domain at it, install WordPress with the host's one-click installer or manually, turn on HTTPS, set permalinks and schedule backups. WordPress documentation describes the manual install as taking under five minutes once the database exists.

Hands typing on a laptop with a blurred screen on a desk beside a mug

Part of our guide: WordPress Hosting Explained: Types and Requirements

Hosting a WordPress website means putting the WordPress software on a server that is always online and connecting your domain to it. This how-to belongs to our WordPress hosting guide and takes you from choosing a host to a first backup. It assumes you want the self-hosted software; see self-hosted WordPress versus WordPress.com if you are not sure.

What you need before you start

  • A domain name. Registering and managing domains is outside this site’s scope; use your registrar’s documentation.
  • A hosting account that meets the WordPress.org requirements: PHP 8.3 or greater and MariaDB 10.11 or greater or MySQL 8.4 or greater.
  • Access to upload files (FTP or shell) or a one-click installer, and permission to create a database, unless the host has already created one.
  • A safe place for credentials, such as a password manager.

Choose a hosting type for WordPress

Pick the type that matches how much upkeep you want. Shared hosting is the simple default for small sites, managed WordPress hosting shifts upkeep to the provider, and a VPS puts it all on you. Use the host-choosing checklist to compare plans, and what web hosting is covers every type.

Point the domain at the host

Your host will tell you what to change at your domain’s DNS provider, either nameservers or records. This guide does not cover DNS records, so follow your host’s and registrar’s instructions.

Install WordPress

You have two routes.

One-click installer. Many hosts offer one, often inside a control panel such as cPanel or an equivalent (cPanel alternatives). Follow the prompts and note the admin address and password.

Manual install. WordPress documentation describes four steps:

  1. Create a database and a database user with all privileges on it. Some hosts create these for you.
  2. Optionally rename the sample config file and enter the database name, user, password and host. If you skip it, the install script can create it.
  3. Upload the WordPress files to your site’s root directory or a subdirectory.
  4. Open wp-admin/install.php in a browser and enter your site title, admin username, password and email address.

WordPress.org recommends a host that supports HTTPS. Many hosts issue certificates for you, and Let’s Encrypt provides free certificates through its automated process; its documentation lists the client options. Once a certificate is active, update the site address to start with https:// in WordPress settings. Let’s Encrypt explained and how to get an SSL certificate cover the details.

Then open Settings and Permalinks in the WordPress admin and choose a URL structure before you publish anything. Changing URLs after pages are indexed means redirects.

Backups and updates from day one

WordPress documentation says a backup needs the database and the files, and suggests backing up before any upgrade, with copies stored in more than one place. Set a schedule in your host’s panel or with a plugin, and test a restore once. Keep WordPress, themes and plugins updated, and check the PHP branch against php.net’s supported versions.

Troubleshooting first-launch problems

  • “Error establishing a database connection”: WordPress documentation suggests checking that the database server is running and that the credentials and host in wp-config.php are right.
  • No email arrives: verify that email delivery works on your host.
  • Install page not found: confirm the files are in the folder your domain points to.
  • Browser warning about the certificate: HTTPS is not set up yet; see what an SSL certificate is.

Later, if you move to another host, use how to migrate a WordPress site.

Sources re-opened and compared with this text by the MinniHost Guides team on 2026-11-17. MinniHost Guides is an independent editorial site and does not sell hosting.

Your questions answered

How do I host a WordPress website?

Pick a host that meets the WordPress.org requirements, point your domain at it, install WordPress through the host's installer or by uploading the files and creating a database, then turn on HTTPS and set permalinks. Finish by scheduling backups and enabling updates. The steps below walk through each part in order.

Can I host WordPress for free?

Free options exist, but they come with limits on resources and features. WordPress itself is free software, but hosting is a service. Check the written terms and limits before you rely on a free plan for a site that matters, and plan how you would move off it later.

How long does it take to set up WordPress hosting?

The WordPress install itself is described in the official documentation as taking under five minutes once the database is ready, and one-click installers can be quicker. Allow more time for choosing a host, pointing the domain, configuring HTTPS, choosing a theme and setting up backups. A realistic first launch takes a few hours.

Do I need cPanel to host WordPress?

No. WordPress needs PHP, a MySQL or MariaDB database, a way to upload files and working email, and a control panel such as cPanel is only one way a host provides them. Some hosts use their own dashboards. Our cPanel guide explains the panel if your host uses it.

What PHP version does WordPress need?

WordPress.org lists PHP 8.3 or greater. Check the PHP project's supported versions page too, because each branch gets security fixes for a limited time: 8.3 until 31 December 2027 and 8.4 until 31 December 2028. Choose the newest version that your theme and plugins support, and test before switching.

Where this comes from

  1. WordPress.org: Requirements (wordpress.org)
  2. WordPress Advanced Administration: How to install WordPress (developer.wordpress.org)
  3. PHP: Supported Versions (php.net)
  4. WordPress Advanced Administration: Backups (developer.wordpress.org)
  5. Let's Encrypt Documentation (letsencrypt.org)

More on this topic

Top of page