How to Install WordPress, Step by Step
How to install WordPress: prepare a domain and hosting, install from cPanel or DirectAdmin or by hand, then set up SSL, permalinks, speed and security.

Contents
Knowing how to install WordPress takes most of the work out of launching a site: with the right hosting it takes under 10 minutes. You set up a domain and a hosting account, install WordPress from the control panel, change a few basic settings and go live. WordPress is the free, open-source content management system behind a large share of the web, and it works for blogs, business sites, portfolios and, with WooCommerce, online shops.
This guide covers the preparation, installing WordPress from the control panel or by hand, the settings to change afterwards and our tips for speed and security.
Before you install: what you need
- A domain: your site's address, for example
yourcompany.com. - A hosting account: WordPress runs on PHP and a MySQL/MariaDB database. Shared web hosting plans provide both out of the box.
- The domain pointed at your hosting: point the domain's nameservers or A record at your hosting server. Our guide What is DNS? explains how that works.
- An SSL certificate: opening the site on HTTPS from day one beats changing addresses later. Most panels install a free certificate automatically.
WordPress recommends a current PHP 8 version and a current MySQL or MariaDB version. On most hosting plans you can choose the PHP version in the control panel.
Method 1: Install WordPress from the control panel
Control panels such as cPanel and DirectAdmin usually include an app installer or a WordPress management tool. With it, installation takes a few clicks:
- Log in to your control panel and choose WordPress in the app installer.
- Pick the domain to install on. Leave the directory field empty for the main address, or enter a folder name to install at
yourcompany.com/blog. - Choose
https://as the protocol. - Enter the site name, an admin username, a strong password and the admin email. Don't use
adminas the username; it is the first name automated attacks try. - Start the install. The installer copies the files, creates the database and configures WordPress.
When it finishes, log in to the dashboard at yourcompany.com/wp-admin.
Method 2: Install WordPress manually
If your panel has no app installer, or you prefer to do it yourself:
- Create a database. In the control panel's MySQL Databases section (MySQL Management in DirectAdmin), create a database and a user, and give the user all privileges on the database. Note the database name, user name and password.
- Download WordPress. Get the latest version as a
.zipfrom wordpress.org. - Upload the files. Using the panel's file manager or FTP, upload the
.ziptopublic_htmland extract it there. Make sure the files sit directly inpublic_html, not inpublic_html/wordpress. - Open the setup wizard. Visit your domain in a browser. WordPress asks you to pick a language, then for the database details. The database host is usually
localhost. - Enter the site details. Fill in the site name, admin username, password and email to finish.
The wizard creates wp-config.php automatically. If file permissions prevent that, WordPress shows you the file's contents so you can save it as wp-config.php yourself.
First settings after installing
- Check the site address. Under Settings > General, WordPress Address and Site Address should start with
https://. - Set up permalinks. Under Settings > Permalinks, choose Post name. Your addresses become readable and search-friendly, like
yourcompany.com/post-titleinstead of?p=123. - Delete the sample content. Remove the "Hello world!" post, the sample page and default themes you don't use.
- Set the time zone and language under Settings > General.
- Choose a theme. Pick a lightweight theme that is actively maintained; heavy themes packed with features slow your site down.
Making WordPress faster
- Use caching. On hosting that runs the LiteSpeed web server, install the LiteSpeed Cache plugin. It caches pages at the server level and is usually more effective than other caching plugins.
- Compress images. Large images are the most common cause of slow pages. Resize them before uploading and prefer modern formats like WebP.
- Cut down on plugins. Every plugin is code that runs when a page loads. Don't just deactivate plugins you don't use; delete them.
- Use a current PHP version. Newer PHP versions are noticeably faster. Choose a current PHP 8 version in the control panel.
Keeping WordPress secure
WordPress is so popular that it is also the most common target of automated attacks. These steps remove most of the risk:
- Keep everything updated. Don't put off updates for WordPress core, themes and plugins. Most attacks use known holes that were fixed long ago.
- Use strong passwords and two-factor authentication. Install a two-factor plugin for admin accounts.
- Only install plugins from trusted sources. "Nulled" (cracked) premium plugins often contain malicious code.
- Take backups. Check your host's automatic backups and take an extra one before major updates.
If you want to manage your own server and set up WordPress with Nginx or Apache from scratch, a VPS is an option too; but for most WordPress sites, web hosting where the provider manages the server is both easier and cheaper. We compare them in What is web hosting?
WordPress at Nodesty
Nodesty web hosting runs WordPress sites on AMD Ryzen 9 7900 servers with the LiteSpeed web server and NVMe storage. Plans are managed with cPanel or DirectAdmin and include free SSL; Imunify360 protects against malware and attacks, and JetBackup gives you your backups in the panel.
Frequently Asked Questions
Is it free to install WordPress?
WordPress itself is free and open source. You need a domain and hosting to publish a site, and those cost money. Themes and plugins come in both free and paid versions.
What hosting plan do I need for WordPress?
A web hosting plan with 1 GB of storage is usually enough for a single business site or blog. If you will use lots of images or host several sites, choose a plan with 5–10 GB and a higher domain limit.
What is the difference between WordPress.com and WordPress.org?
You install WordPress from WordPress.org on your own hosting and keep full control of themes, plugins and data. WordPress.com is a hosted service that needs no installation, but plugins and customisation are limited on its free and lower plans. This guide covers the WordPress.org install.
Why does my site say Not secure after installing?
The SSL certificate may not be enabled yet, or WordPress's site address may still start with http://. Enable SSL in your control panel, then update WordPress Address and Site Address under Settings > General to https://.
Can I move my WordPress site from another host?
Yes. Back up your files and database, upload them to the new host, update the database details in wp-config.php and point your domain's DNS at the new server. Migration plugins can also package the whole site for you.
How do I make WordPress faster?
On hosting that runs the LiteSpeed web server, install the LiteSpeed Cache plugin, compress your images and keep only the plugins you actually use. NVMe storage and a current PHP version also shorten page load times noticeably.
About the author
Nodesty Team · Infrastructure & Support
The Nodesty team runs our servers, network and DDoS protection day to day and answers customer support requests around the clock. These guides come from that work.
Related articles

What Is a Subdomain and How Do You Create One?
What is a subdomain and how do you create one? Subdomains with DNS records, creating one in cPanel and DirectAdmin, pointing it to a game server, and SSL.

What Is Bandwidth and Traffic? Calculate Your Needs
What is bandwidth, and how does it differ from traffic? Mbps vs. MB/s, port speed, unlimited traffic, sizing for websites and game servers, and monitoring.

How to Change the PHP Version and php.ini Settings
How to change PHP version: choosing a version in cPanel and DirectAdmin, upgrading safely, and php.ini settings like memory_limit and upload_max_filesize.