Back to Article List

cPanel WordPress setup from install to first login

cPanel WordPress setup from install to first login

A WordPress setup on cPanel takes five minutes with the installer tools and about twenty by hand, and knowing both routes pays off: the tools for speed, the manual method for understanding what breaks when something eventually does. I'll walk through all of it, then the post-install settings that separate a demo from a site you'd put a client on.

Pick your installer: WP Toolkit, Softaculous or manual

Look in cPanel for what your host gave you. WP Toolkit (under Domains) ships with current cPanel versions and is my pick where present: it installs, then keeps managing the site afterwards with cloning, staging, hardening checks and bulk plugin updates. Softaculous (under Software) is the veteran auto-installer many hosts run alongside or instead; it installs 400+ apps and does WordPress perfectly well, it manages less afterwards. Neither present? The manual method needs nothing but File Manager and a database, and it works on any cPanel account ever made. One prerequisite applies to all three routes: if an abandoned install already sits on the domain, uninstall the old WordPress from cPanel first so the files and database start clean.

Route 1: WP Toolkit

Open WP Toolkit, hit Install, and the form asks for the essentials: the domain (and optionally a subdirectory like /blog), site title, admin username, password and email. Two fields deserve attention beyond the defaults. Set the admin username to something other than "admin", since automated login attacks try that name first and forever. And check the WordPress version dropdown offers the latest release; the current branch is the only one you should start new sites on.

Click Install and the toolkit creates the database, the user and the files, then lists the site on its dashboard with a Log In button that takes you straight into wp-admin without typing credentials. From the same card you can later flip on smart updates, clone to staging or run the security checklist, and that ongoing management is the real argument for this route.

Route 2: Softaculous

Open Softaculous Apps Installer, choose WordPress, click Install Now. The form covers the same ground with a couple of extra choices: the protocol (pick https:// assuming AutoSSL already issued for the domain, which it does on any current cPanel), the directory (leave empty to install at the domain root; the pre-filled "wp" folder is a trap that puts your site at example.com/wp) and a database name it generates for you.

Softaculous also offers plugin and theme bundles during install. Skip them; a fresh site should start with what you chose, not what a form pre-ticked. Set backup rotation to a couple of copies if you use its backup feature, then Install. Sixty seconds later it prints the site and admin URLs.

Route 3: Manual install (the educational one)

The famous five-minute install, cPanel edition. Worth doing once even if you'll use the tools forever after, because every piece you touch here is a piece you'll someday debug.

Create the database and user

cPanel » Databases » MySQL Databases. Create a database, create a user with a generated password, then add the user to the database with All Privileges. Note all three values; wp-config wants them in a minute.

Upload and extract WordPress

Grab the archive from wordpress.org, upload it via File Manager into the domain's document root and extract it there. The archive unpacks into a wordpress/ subfolder, so select that folder's contents and move them up into the document root itself, then delete the empty folder and the zip.

Run the installer

Load the domain in a browser. WordPress asks for a language, then the database name, user and password from step one (host stays localhost, table prefix can stay wp_ or change for a little security-through-obscurity, your call). It writes wp-config.php, you fill in the site title and admin account and the setup wizard finishes at the login screen. If the database connection fails, the credentials are wrong in nine cases out of ten and the database host is a socket issue in the tenth.

The post-install fifteen minutes

Whichever route installed it, a fresh WordPress needs the same shortlist before it meets traffic.

  • HTTPS everywhere. Settings » General: both the WordPress Address and Site Address should read https://. AutoSSL handles the certificate on the cPanel side; these two fields handle the app side.
  • Permalinks. Settings » Permalinks, pick "Post name". The default plain permalinks are ugly for readers and search engines alike, and changing structure later on an indexed site costs redirects.
  • PHP version. cPanel » MultiPHP Manager, put the domain on PHP 8.2 or newer. WordPress core is happy there and the speed difference over 7.x-era versions is measurable.
  • Real cron. WordPress fakes scheduled tasks on visitor pageviews, which stalls on low-traffic sites. Add define('DISABLE_WP_CRON', true); to wp-config.php and create a cPanel cron job every 10 minutes: cd /home/USER/public_html; php -q wp-cron.php. Scheduled posts and update checks stop depending on traffic.
  • Delete what you won't use. The unused default themes, Hello Dolly, sample content. Every inactive extension is attack surface with zero payoff.

Backups belong on this list too, ideally at two layers: the host's account backups plus something WordPress-aware (WP Toolkit's scheduled backups or a plugin writing offsite). One layer is a plan; the same layer twice is a hope. And when the first premium theme zip refuses to upload, that's PHP's limit rather than the theme; raising the max upload size in cPanel is a two-minute fix.

Verify the setup

Load the site over https:// and confirm the padlock. Log into wp-admin. Open Tools » Site Health and let it grade you; a fresh install on current PHP with HTTPS should show "Good" with maybe a note about a missing module. Anything red at this stage is worth fixing now, while the site has no content to endanger and no visitors to inconvenience.

When cPanel WordPress hosting fits (and when it doesn't)

For the overwhelming majority of WordPress sites (brochure sites, blogs, small WooCommerce stores) a cPanel account on decent hardware is exactly right, and everything above is the whole setup story. The fit ends at heavy WooCommerce, high-traffic publishing or agencies running dozens of sites, where you want server-level caching, more PHP workers and room to tune.

That's the move from a shared account to a cPanel VPS, where the same WP Toolkit workflow rides on NVMe storage and resources nobody else shares; the eCommerce VPS configurations exist for exactly the WooCommerce end of that spectrum. Same panel, same muscle memory, more headroom.

Give your websites a server of their own

Launch a virtual server as simple as shared hosting, with guaranteed resources and stronger security.
Ciclo de Pagamento

Personal Web Hosting

$6.99 Save  14 %
$5.99 Mensalmente
  • Ideal para sites pessoais, blogs e portfólios, oferecendo uma forma rápida e fiável de estar online sem complexidade.
  • 40 GB NVMe armazenamento
  • 2 GB memória RAM
  • 2 vCPU AMD EPYC
  • IPv4 & IPv6 incluídos O suporte IPv6 não está disponível de momento em France ou the Netherlands.
  • Rede 1 Gbps sem limite
  • Backup automático gratuito
  • Gestão de firewall
  • Monitorização de servidor gratuita
  • Isolamento KVM

Business Web Hosting

$23.99 Save  21 %
$18.99 Mensalmente
  • Ideal para sites estabelecidos e equipas ocupadas, com potência para suportar vários projetos e um crescimento consistente.
  • 250 GB NVMe armazenamento
  • 8 GB memória RAM
  • 4 vCPU AMD EPYC
  • IPv4 & IPv6 incluídos O suporte IPv6 não está disponível de momento em France ou the Netherlands.
  • Rede 1 Gbps sem limite
  • Backup automático gratuito
  • Gestão de firewall
  • Monitorização de servidor gratuita
  • Isolamento KVM

Agency Web Hosting

$44.99 Save  22 %
$34.99 Mensalmente
  • Concebido para utilizadores com exigência muito elevada, oferecendo capacidade para gerir facilmente muitos clientes e cargas de trabalho pesadas.
  • 600 GB NVMe armazenamento
  • 16 GB memória RAM
  • 4 vCPU AMD EPYC
  • IPv4 & IPv6 incluídos O suporte IPv6 não está disponível de momento em France ou the Netherlands.
  • Rede 1 Gbps sem limite
  • Backup automático gratuito
  • Gestão de firewall
  • Monitorização de servidor gratuita
  • Isolamento KVM

Should I install WordPress in a subdirectory or the root?

Root for the main site, always, unless the domain already serves something else. The /wp and /wordpress subdirectory installs you see in the wild are mostly installer-form defaults nobody caught, and they cost redirects to undo later.

Your ideas deserve better hosting

Bring your winning ideas online faster, with modern hardware and unmetered bandwidth. Join a European cloud trusted by thousands of developers and businesses worldwide.

GPU products are in high demand at the moment. Fill the form to get notified as soon as your preferred GPU server is back in stock.