How to Create a Website in WordPress Step by Step

Last Updated: 23 Nov, 2026

To create a website in WordPress, get a domain and hosting, download WordPress from WordPress.org, create a MySQL database, upload and extract the files, connect wp-config.php to the database, then finish the browser setup wizard. Most hosts also offer a one-click installer that skips the manual steps.

What is a WordPress website, and how is it different from plain HTML?

A static website is built with only HTML and CSS. The content is fixed, like a printed flyer, so every visitor sees the same thing. It loads fast, but changing a line of text means editing code.

A dynamic website uses PHP, a server language, and a MySQL database. The page is generated when someone visits it, so it can change from one user to the next, and you can update it from a dashboard almost like posting on social media. WordPress builds dynamic sites.

WordPress is a CMS, short for Content Management System. It is software that lets you create, edit and publish website content without writing code. If you can send an email, you can manage a WordPress site.

If the static-versus-dynamic idea is new to you, this short read on how websites differ by type is a good side trip before you continue.

WordPress.com vs WordPress.org: which one are you installing?

This trips up almost every beginner, because the two names look the same and the products are very different.

WordPress.com is a hosting service. They manage everything for you, which is convenient, but you get limited freedom and you do not fully own the site.

WordPress.org is the free software you download and install on your own hosting. You get full control and ownership, and you can install any plugin you like.

Question WordPress.com WordPress.org
Who runs the server? The service does You, through your host
Control over the site Limited Full
Custom plugins Not easy to upload Install any plugin
Ownership You do not fully own the site You own it

Everything below uses WordPress.org, because that is what you will build in a course project and what most clients expect.

What you need before you start

Gather five things first, so you do not stop halfway through:

  • A domain name, such as yourbusiness.com, that you have registered.
  • A hosting account with a control panel (cPanel or hPanel). The steps below use Hostinger’s hPanel as the example.
  • A notepad file where you will paste your database name, username and password.
  • An email address for the admin account that you can actually open.
  • A computer, because you will download and upload a zip file.

Behind the scenes, WordPress.org recommends a recent PHP version, a current MySQL or MariaDB version and HTTPS support from your host. Good hosts already meet this, so you only need to glance at your hosting plan page.

How to create a website in WordPress: the manual install, phase by phase

The manual route takes about half an hour the first time, and it teaches you what a one-click installer hides: where the files live, how WordPress talks to its database, and what to check when something breaks. Six phases, in order.

Six-step flow showing the manual WordPress install from download to dashboard login
The six phases of a manual WordPress install

Phase 1: Download the WordPress core files

Search for wordpress.org on Google and open the official result.

On the homepage click “Get WordPress” or “Discover WordPress”, then click “Download WordPress” to save the core .zip file to your computer.

Always download from wordpress.org. Zip files from random sites can hide malicious code.

Phase 2: Create a MySQL database

In your hosting dashboard, open Overview, then the Databases icon.

Enter a MySQL database name, a MySQL username and a strong password, then click Create.

Copy the database name, username and password into your notepad. You need all three in Phase 4.

Think of the database as the filing cabinet where WordPress keeps your posts, pages and settings. The files you upload next are the staff who read from it.

Phase 3: Upload and extract the files

Open File manager and go into the public_html folder. Only files inside public_html can be seen by visitors.

Use the Upload icon to select your wordpress zip file. When it appears in public_html, right-click it and choose Extract.

In the “Choose folder name” field type a forward slash (/), then click Extract. A new folder called wordpress appears with the core files inside.

Phase 4: Connect wp-config.php to the database

Inside the wordpress folder, find wp-config-sample.php and edit it. Replace the placeholders with the database name, username and password from Phase 2.

Rename the file to exactly wp-config.php. A small typo in the name means WordPress will not find it.

Phase 5: Move the files and clean up

Select all files inside the wordpress folder, choose Move, set the destination to the main public_html folder by double-clicking the two dots (..), and confirm.

Go back to public_html, delete the now-empty wordpress folder, and delete the original zip file too. Removing the archive keeps your server tidy.

This phase exists because the zip extracts into a subfolder, and without the move your site would live at yoursite.com/wordpress instead of yoursite.com.

Phase 6: Run the browser setup wizard

Open your domain in a browser. Choose your language and click Continue.

Fill in the Site Title, an admin username, a strong password and your admin email.

Tick “Discourage search engines from indexing this site” while the site is under construction, then click Install WordPress.

When you see the Success screen, click Log In and sign in with the username and password you just created. You are now inside the WordPress dashboard.

The one-click alternative: installing WordPress through Softaculous

Many control panels include Softaculous, an app store for your server that installs WordPress with one click.

It performs the same six phases for you in about a minute. Use it for client sites when speed matters, and use the manual method when you are learning or when the installer is missing. Either way, you end up at the same dashboard.

WordPress website tutorial: your first hour after login

A fresh dashboard shows the Posts, Media, Pages, Appearance, Plugins, Users, Tools and Settings menus. Work through them in this order.

  • Settings, General: check the site title and tagline, and make sure the WordPress Address and Site Address both start with https:// once SSL is active.
  • Settings, Permalinks: choose a readable structure such as the post name, so a URL reads /about-us/ instead of /?p=123.
  • Pages: delete the sample page and sample post, then create Home, About, Services and Contact.
  • Appearance, Themes: pick a lightweight theme and customise colours and logo.
  • Plugins: install only what you need. Every extra plugin adds code to maintain.
  • Settings, Reading: when the site is ready, untick “Discourage search engines from indexing this site”.

WordPress for beginners: what can you build with it?

Blogs are the original use: articles and news. E-commerce stores run on the WooCommerce plugin. Portfolios show photography or design work visually. Business sites carry standard About and Contact pages.

WordPress is open source, so the software is free to use and modify, and a large global community updates it constantly.

Free applies to the software only. You still pay for a domain and hosting, and you may pay for premium themes or plugins later.

Your first-week launch checklist

Day 1: finish the install, log in, and save your admin details somewhere safe.

Day 2: set permalinks and create the four core pages.

Day 3: install a theme and add your logo and colours.

Day 4: write the homepage, add a contact method and a privacy policy page.

Day 5: test on your phone and fix anything that looks cramped.

Day 6: connect the site to Google Search Console and submit your sitemap.

Day 7: untick “Discourage search engines” and announce the site.

If you would like a mentor reviewing this build with you, the live WordPress website project in the digital marketing programme walks through a domain, hosting, install and SSL setup.

Frequently Asked Questions

Is WordPress really free to use?

The software is free and open source. What costs money is the supporting cast: a domain, hosting, and any premium theme or plugin you choose. Budget for those before you promise a client a “free” website.

How long does a manual WordPress install take?

Plan on 20 to 40 minutes the first time, mostly spent on the file move and typing database details carefully. Once you have done it twice it drops to about ten minutes, and a one-click installer takes about one.

Can I switch from WordPress.com to WordPress.org later?

Yes. You export your content from the old site and import it into a fresh WordPress.org install. Do it early, because the more content you have, the more there is to check afterwards.

Which should I learn first, the manual install or the one-click installer?

Learn the manual install once. It shows you wp-config.php and the database, and that knowledge is what fixes the most common errors later. After that, use the installer for speed.

What does "Error establishing a database connection" mean on a new install?

It means wp-config.php holds a wrong database name, username or password, so WordPress cannot reach its database. Re-check the three values against your hosting panel and the error usually clears.

Do I need coding skills to build a WordPress site?

No. The dashboard is visual, and page builders let you drag and drop sections. Basic HTML and CSS help when you want fine control, but they are optional.