WordPress / Setup

Install WordPress: prepare, set up, verify

An installation workflow based on official WordPress documentation, with checks and backup.

Install self-hosted WordPress by preparing compatible hosting, pointing your domain to it, enabling HTTPS, creating an empty database, uploading official WordPress files, and completing browser-based setup. Then check administrator access, public pages, permalinks, updates, and backups before publishing. Follow this sequence for new installations only; existing sites need migration planning, not another installer run. Official installation guidance covers server preparation, database configuration, file placement, and browser setup. WordPress installation guide

1. Choose self-hosted WordPress deliberately

WordPress.org supplies software you install on hosting you control. WordPress.com provides a hosted service; its account and purchasing flow are not this manual installation workflow. Here, hosting, domain management, files, database access, and maintenance remain your responsibility.

Start with three decisions:

These choices prevent avoidable rework. Root installation suits a site intended to occupy its whole domain. Subdirectory installation suits a site intentionally published beneath a path, such as /journal/. Upload location affects which address launches setup. WordPress installation guide

Hypothetical example: A new organization wants its website at example.org, not example.org/wordpress/. Its installation plan places WordPress files directly in that domain’s document root.

Need hosting basics first? Read what web hosting provides. Already have a working WordPress site elsewhere? Use migration guidance instead. Installing over existing files is not a migration method.

Diagram of a website page, database and files used for WordPress setup
Files, database and site must be connected correctly during setup.

2. Confirm hosting requirements and access

Check hosting against the current official WordPress requirements before buying or provisioning. Match supported PHP and database versions, HTTPS support, and server capability. Avoid copying version numbers from an old tutorial: requirements change, and hosting descriptions can lag behind available configuration.

Ask the provider which PHP version your specific site will use, not merely which versions appear somewhere in its product range. Confirm database availability and how to obtain its connection details.

Prepare access before downloading anything:

Separate missing features from unfamiliar interfaces. A control panel may hide database creation behind a different label; that does not justify guessing credentials.

Choose hosting based on responsibilities you can actually manage. Provider-assisted maintenance can reduce manual work, but verify current service scope and recovery terms on the provider’s own page or checkout. Do not assume “WordPress hosting” includes every task described below.

3. Set domain, DNS, and HTTPS

Decide whether your public address uses the bare domain or www. Record that choice before setup so later checks use one intended address.

DNS editing belongs wherever the domain’s authoritative DNS is managed, which may differ from its registrar or hosting company. Cloudflare’s documentation explains creating records by selecting record type, name, content, and relevant settings; use hosting-supplied destination values rather than invented examples. Cloudflare DNS record creation

  1. Ask hosting which DNS records your chosen hostname needs.
  2. Inspect existing records before changing anything, especially records used for email.
  3. Add or edit only the website records required for this installation.
  4. Confirm the hostname reaches the intended hosting account.
  5. Enable its HTTPS certificate and open the address without a certificate warning.

Do not enter administrator credentials through a certificate warning or an untrusted HTTP connection. Fix certificate coverage, hostname selection, or hosting configuration first.

Hypothetical example: Hosting serves the correct site at www.example.org, but the certificate covers only example.org. Stop before setup. Both DNS and certificate coverage must match the address you intend to use.

HTTPS support appears in official WordPress requirements. WordPress requirements

4. Map files and create an empty database

Find the document root assigned to your hostname. Do not assume every folder named public_html, www, or htdocs serves the same domain. Hosting accounts can contain multiple sites and separate roots.

Inspect the destination before uploading. A genuinely new installation should not require replacing another site’s files. If you find unfamiliar content, establish ownership and purpose first. Do not delete it to make an installer work.

WordPress needs a database, a database user, and permission for that user to work with the database. Obtain the database name, username, password, and host from your hosting environment. The database host is not necessarily localhost. WordPress installation guide

  1. Create an empty database for this installation.
  2. Create or assign a database user with the required permissions.
  3. Save the connection details securely.
  4. Confirm the database user is associated with the intended database.

Keep database credentials separate from your future WordPress login. They serve different purposes. Do not reuse an existing application’s database merely because its credentials are available.

A dedicated database also makes backup ownership easier to understand: its contents belong to this installation.

5. Download and place official files

Use the download link provided through the official WordPress installation guide. Avoid repackaged installers from unrelated download sites. Extract the archive locally or through your hosting tools, then inspect its directory structure before transferring files.

For installation at the domain root, place the contents of the extracted WordPress directory in that domain’s document root. For installation in a subdirectory, place those contents in the intended subdirectory. This distinction prevents an accidental extra /wordpress/ path. WordPress installation guide

  1. Open the confirmed destination directory.
  2. Upload the extracted WordPress files and directories.
  3. Check the transfer report for failed or skipped items.
  4. Confirm wp-admin, wp-content, and wp-includes sit together at the intended installation level.

Do not combine files from multiple downloads to repair an uncertain upload. For a new, unused installation, repeat the transfer from one official package after confirming the destination contains no unrelated material.

If your file manager reports a conflict, pause. Determine whether it comes from an earlier attempt, a default host file, or an existing application before allowing replacement.

6. Run configuration and browser setup

Open your intended installation address over HTTPS. WordPress can guide database configuration in the browser. If automatic configuration-file creation is unavailable, official instructions describe preparing wp-config.php from wp-config-sample.php. WordPress installation guide

  1. Enter the database name, username, password, and database host supplied by hosting.
  2. Review the table prefix before continuing.
  3. Allow WordPress to test its database connection.
  4. Continue to site setup only after that connection succeeds.
  5. Enter the site title, administrator details, and requested visibility preference.
  6. Complete installation and record the resulting login address.

For a new dedicated database, do not change the table prefix merely to follow an unexplained tutorial. Its practical role matters when distinguishing table sets; it does not replace access controls.

If configuration cannot be written automatically, follow the official manual configuration path rather than loosening permissions across the whole site. Never publish configuration contents in a support request: they contain database credentials.

If setup reports existing tables, stop and inspect the database selection and prefix. That message may identify an earlier installation attempt or a database that was not empty.

7. Secure administrator access

Create an administrator account for site management, not a shared identity passed between everyone involved. Choose a distinct username and a strong, unique password. Use an email address you can access and expect to retain.

Official setup asks for administrator credentials and email; treat these as recovery-critical installation details. WordPress installation guide

After installation, log out and sign in again using the credentials you saved. A successful setup screen does not prove your password record is correct.

Keep secrets in a password manager rather than a project document, chat transcript, or screenshot. Record operational details separately: hosting account owner, domain manager, installation address, and recovery contact.

For routine publishing, plan accounts around each person’s actual work rather than distributing the administrator password. Keep administrative access limited to people responsible for site-level changes.

Hypothetical example: A contractor installs the site using their own email address. Before handover, the owner should establish their own access and verify recovery details. Finishing installation is not enough if future recovery depends on an unavailable contractor.

Do not remove working access until replacement access has been tested.

8. Review dashboard and site settings

Treat initial settings as a consistency check, not a tour of every dashboard screen. Focus on choices that affect address, publishing, and ownership.

Review site title, administrator email, timezone, date presentation, and intended homepage behavior. Match these to actual use. A scheduled publishing workflow needs deliberate timezone selection; an informational site needs a clear choice between a static homepage and a posts listing.

Check displayed site addresses against your chosen HTTPS hostname. Do not change address fields experimentally to solve DNS or certificate problems. Those problems need correction at their respective layers.

Review search visibility before launch. The installation workflow includes a search-engine visibility choice, but that choice is not an access-control mechanism. WordPress installation guide

If unfinished content must remain private, use access restrictions suitable for your hosting arrangement. Do not rely on a search preference to protect confidential material.

Remove or replace sample material before public release. Then open the site while logged out. This catches a common ownership gap: an administrator may see working content while visitors encounter unfinished pages, unexpected navigation, or an unsuitable homepage.

Choose a readable permalink structure before sharing public links. Save it, publish a small test page, and open that page directly in a logged-out browser. Test an actual content URL, not only the homepage.

Readable permalink behavior depends on server configuration. Official installation guidance discusses server support relevant to permalink rewriting. If the homepage works but content URLs fail, investigate that layer before reinstalling. WordPress installation guide

Start with one theme that meets your content and layout needs. Evaluate navigation, readable text, keyboard use, and mobile presentation with representative content. Attractive theme previews do not establish suitability for your own material.

Add plugins only for named requirements. “Might need later” is not an installation requirement. Before each addition, identify what it must do, who maintains it, and how you will verify its behavior.

Keep early customization modest. This makes failures easier to isolate and reduces work to preserve during recovery.

Hypothetical example: A brochure site needs five pages and a contact method. Build those first. Add a form plugin only if an actual submission workflow requires one, then test delivery rather than assuming successful activation proves successful communication.

10. Establish updates and maintenance ownership

Before launch, check for available WordPress, theme, and plugin updates. Schedule ongoing review instead of treating installation day as permanent completion.

Define who checks updates, who can apply them, and who responds if the site stops working afterward. One named owner is more useful than an unassigned instruction to “keep everything updated.”

Use a small maintenance checklist:

Backups belong before changes, not only after successful work. Official backup guidance recommends protecting both database and files and maintaining a backup routine. WordPress backup guidance

Automatic updates can reduce manual effort, but they do not remove responsibility for checking outcomes. Decide how your maintenance owner will notice failures and reach recovery tools when the dashboard is unavailable.

Avoid adding a management plugin solely to create a maintenance plan. Start with responsibilities, access, and a calendar; add tooling only when workload requires it.

11. Back up files and database, then test restoration

A WordPress backup needs both database contents and site files. Database backup alone does not preserve uploaded media, themes, plugins, or configuration files; copying files alone does not preserve database-held content and settings. WordPress backup guidance

Create a baseline backup after setup and validation. Keep a copy outside the hosting account so loss of that account does not also remove your only recovery copy. Protect backups because they can contain credentials and private information.

Before relying on a backup service, verify its current scope, retention, storage location, and restoration process. Distinguish “backup exists” from “owner can restore it.”

Test restoration in a separate, non-public environment:

  1. Select matching file and database backups from the same recovery point.
  2. Restore them using the documented hosting or backup-tool procedure.
  3. Adjust environment-specific connection details as required.
  4. Check administrator login, content, media, and representative URLs.
  5. Record missing items and repeat the test after correcting the backup process.

Never restore over a working site merely to test a backup. Restoration can overwrite newer data.

Choose backup frequency according to acceptable content loss. A rarely changed information site and a frequently edited publication need different recovery intervals.

Post-installation checks for page, login, HTTPS and backup
Check HTTPS, login, public pages and backup.

12. Validate launch and handle failures by layer

Finish with observable checks, not an installation-success message. Open the intended HTTPS address while logged out; verify the hostname, homepage, navigation, one content permalink, and one uploaded image. Sign in separately and confirm administrator access. Check any contact or submission workflow end to end.

Use symptoms to narrow failures:

Symptom First check
Domain shows another site DNS destination and hostname’s document root
Certificate warning Certificate coverage and intended hostname
Database connection failure Database name, user, password, host, and permissions
Installer appears again Requested path, configuration file, and selected database
Homepage works; content URLs fail Permalink settings and server rewrite support
Missing or broken installation files Transfer failures and upload directory level

Database and setup troubleshooting should follow the official installation guide. For record editing, use the relevant DNS instructions without changing unrelated services.

Change one thing at a time, then repeat the failed check. Do not reset the database, reinstall WordPress, or broaden file permissions as a first response.

Launch only after public access, administrator access, backups, and recovery ownership are confirmed. Keep the first successful backup and your short installation record together, with secrets stored separately.