WordPress Site Setup in 8 Stages: From Domain to Launch

A practical walkthrough from buying a domain to CDN and SEO, with the real costs and the three errors I actually hit while maintaining this site.

WordPress is free, open-source software. Buy a domain and a host, and you can run a blog, a content site or a small independent store without writing code. This guide puts the whole process in order: eight stages from domain name to launch, then the three errors I actually hit while maintaining this site. It is written from my own build, with the real amounts I paid and the mistakes I had to fix afterwards.

First: why self-hosted WordPress

There are three common ways to put a site online:

  • Hosted website builders (SaaS): fastest to start, but the recurring subscription is higher and your data and code live on someone else’s platform, which makes moving painful.
  • Self-hosted open source (WordPress, Typecho): the software is free, you buy the domain and hosting, and you control the data — in exchange for doing your own maintenance.
  • Hand-coded site: maximum flexibility, highest barrier; rarely worth it for a content site.

For a blog or content site, WordPress has the best balance: the ecosystem is mature, themes and plugins cover most needs, and almost every error has already been discussed somewhere. In practice only two things cost money at the start: the domain and the host.

Item Approximate cost Note
Domain about $10/year .com often has a first-year discount; budget at the renewal price
VPS hosting $5–7/month My own plan is $6/month
WordPress $0 Open source
Theme / plugins from $0 Free versions are enough to launch; pay later if needed

Stage 1 — Buy the domain

Choose a short, memorable .com where possible, register with an established registrar, enable WHOIS privacy, and remember that a cheap first year normally means a more expensive renewal. Budget using the renewal price, not the promotional one. After purchase, point the A record at your server’s IP. If the difference between a domain, a VPS and shared hosting is still fuzzy, sort that out first — it changes every later decision.

I registered mine at Namecheap

This domain’s .com cost $6.99 for the first year at Namecheap. I keep the first-year price and the second-year renewal as separate lines in my budget, because a $6.99 first year says nothing about year two.

One trap worth passing on: read the auto-renewal and billing terms on any “free trial” or bundled hosting offer at checkout. I tried Namecheap’s Stellar shared hosting, got the first month free, was charged $26.88 in the second month, then requested a refund and disabled auto-renewal. The invoice and the full cost breakdown are in my cost record.

Namecheap brand information card: domain registrar used for this site
Namecheap brand information card made by this site, not an official product screenshot. It identifies the service discussed and contains no pricing, performance or availability claims. Names and trademarks belong to their respective owners.

After registering a domain, the real work happens in the registrar dashboard: Domain List on the left opens the domain, and Manage is where you set nameservers or point the A record at the server. This is a screenshot from this site’s own account; no account, billing or domain-list details are shown.

Registrar dashboard home with Domain List in the left sidebar
Registrar dashboard home. Domain List in the left sidebar is where domains, DNS records and nameservers are managed. Screenshot from this site’s own account; platform notices and promos reflect what was shown at the time. Names and trademarks belong to their respective owners.

First-year prices also vary by extension, as the pricing page below shows, and every coupon comes with conditions. The number worth keeping is the renewal rate, not the banner price.

Domain pricing page comparing promotional first-year prices by extension
Domain pricing page showing promotional first-year prices and coupon codes for several extensions. Prices were those displayed when captured and change over time; always check the checkout page. Names and trademarks belong to their respective owners.

Stage 2 — Choose the VPS

You do not need a large machine for one new WordPress site. 1 vCPU, 2 GB RAM and 30–40 GB SSD is a sensible starting point; upgrade when monitoring tells you to. Pay monthly at first so you can test the network before committing to a year. Datacentre location should follow your visitors, not your own location — how fast the admin dashboard feels to you and how fast the public site feels to your audience are two different questions.

Before paying, compare the renewal price, backup fees, extra IP charges, bandwidth overage rules, taxes and cancellation terms. My VPS buying checklist walks through that order; my $6/month VPS experience is what it looked like after a few months of real use.

One more thing: how the domain is actually used across the eight stages. Buying it in Stage 1 is only the start.

  • Stage 1 — register the domain and point its A record at the server IP; the two screenshots above show that dashboard.
  • Stage 2 — get the VPS public IP, which is the value the A record needs.
  • Stages 3–4 — bind the same domain when creating the site in the panel, and use it as the site address during the WordPress install.
  • Stage 7 and beyond — a CDN means changing DNS again; certificates and www redirects also depend on the domain, and it has to be renewed every year.

The things worth watching are therefore simple: whether DNS has propagated, whether the bound domain matches, and whether the renewal date is on your calendar. Those matter more for uptime than which extension you picked.

Stage 3 — Install the server environment

Baota BT Panel official homepage screenshot
Baota (BT Panel) official homepage screenshot. Shown only to identify the server panel discussed; not a screenshot of this site’s backend or of a test.

SSH into the VPS and install a stack. A control panel such as Baota (BT Panel) lets you install Nginx + MySQL + PHP through a web UI:

  • Run the official panel install script over SSH.
  • Pick the LNMP bundle and PHP 8.x — current WordPress versions expect a recent PHP.
  • Create the site, bind your domain, and issue a free SSL certificate. HTTPS is not optional any more.

Real mistake: compiling an LNMP stack can take tens of minutes, and an SSH disconnect can interrupt it. Run long jobs under screen or nohup. I wrote up the case where a dropped SSH session left both panel and Redis commands unusable.

Stage 4 — Install WordPress

WordPress.org official homepage screenshot
WordPress.org official homepage screenshot. Shown only to identify the open-source software discussed; not a screenshot of this site’s backend.
  1. Download the latest archive from wordpress.org and extract it into the site root.
  2. Create a database in the panel and record the database name, user and password.
  3. Open your domain in a browser and complete the five-minute installer.

Then change the permalink structure immediately. This is the most commonly skipped step and the most expensive to fix later. I launched with the default /index.php/ URLs, only to find long, untidy links after pages were already indexed; switching to a clean date-based structure meant configuring 301 redirects afterwards. Pick a structure without index.php under Settings → Permalinks on day one.

Stage 5 — Pick a theme

This site uses Blocksy. My criteria were: lightweight code (a bloated theme slows every page), solid mobile layout, and good compatibility with the block editor. A free theme is enough to start. Settle the site structure and homepage layout before polishing appearances — the theme is the skin, content is the skeleton.

Stage 6 — Install a few plugins, not many

Plugins conflict and cost performance, so my rule is to skip anything not needed. The categories worth having at launch:

  • Page cache — WP Super Cache on this site; serving static files made a visible difference.
  • Object cache — Redis, but installed does not mean active: both the server component and the plugin need checking, which is a mistake I made.
  • Backups — UpdraftPlus, scheduled to an off-server destination.
  • SEO — Rank Math or Yoast for sitemaps and titles/descriptions.
  • Forms — only if you have a contact page (WPForms, for example).

Stage 7 — Put a CDN in front

Cloudflare official homepage screenshot
Cloudflare official homepage screenshot. Shown only to identify the CDN and network service discussed; not a screenshot of this site’s backend.

Cloudflare’s free tier covers DNS, static asset caching and hiding the origin IP. A CDN is only the outer layer, though — the server needs to cooperate. On this site I enabled gzip, set long browser caching (30 days) for CSS/JS/images, and gave page cache a sensible lifetime; first-screen load came down from a little over 4 seconds to roughly 1 second. Test from your real audience’s network afterwards, not just from a convenient overseas probe.

Stage 8 — Baseline SEO

  • Clean permalinks — the Stage 4 job.
  • Submit a sitemap — WordPress generates wp-sitemap.xml; declare it in robots.txt.
  • Register with Google Search Console and Bing Webmaster Tools, and use IndexNow to push new URLs to Bing proactively.
  • Add Open Graph tags so shared links have a title and description preview.

SEO is slow work. Launch is the starting line; consistent publishing is what compounds.

Three errors I actually hit

  • Whole site returned 502 after a PHP upgrade: almost always permissions. The PHP-FPM log showed Permission denied — Nginx could not connect to the new PHP socket. Fix the socket permission, then restart.
  • Commands stopped working after SSH dropped: run long jobs in the background; see the Stage 3 note.
  • Redis plugin said “connected” but nothing sped up: verify the server-side component and the WordPress drop-in separately.

Closing thought

The whole path is a straight line: domain → VPS → server stack → WordPress → theme → plugins → CDN → SEO. Doing only what each stage requires, a site can go from nothing to live in a day. Do not spend the first week polishing themes and comparing plugins. Get publishing — the value is in the content; the environment only serves it.

FAQ for beginners

Do I need to know how to code?

No. Once the stack and WordPress are installed, writing posts and installing themes or plugins are point-and-click work. You meet a few commands only when troubleshooting.

What is the minimum realistic cost?

About $10/year for a domain plus a few dollars a month for a VPS. My first month’s outlay was $12.99 ($6 VPS + $6.99 domain); if that VPS price held, the first-year baseline was $78.99. Those are my invoices, not a general price.

Which Linux distribution should I choose?

Ubuntu LTS (22.04 / 24.04) has the widest tutorial coverage and the best panel support; Debian is lighter for small-memory machines; CentOS 8 is end-of-life, so choose AlmaLinux or Rocky Linux instead. If unsure, take the newest Ubuntu LTS. Images can be reinstalled, but that wipes data — back up first.

A stage-by-stage acceptance check

The eight stages above describe the order of work. This table is the generic “is this stage actually done” check, not a new incident report and not a claim about any host: each row names the evidence that closes a stage and the place to return to when it is not there. Adding a plugin before the environment answers only multiplies the places a failure could hide.

Stage What “done” looks like If it fails, go back to
Domain and DNS The name resolves to the address you intend Registrar nameservers and the DNS record itself
VPS and SSH You can log in and see the expected hostname Provider console, then the SSH target
Server environment nginx and the active PHP-FPM process both answer Service status, socket path and error.log
WordPress install The site loads and the database connection works Database credentials before touching plugins
Theme and plugins The site still loads after each single addition The last thing you added, one at a time
CDN and baseline SEO Canonical, sitemap and one indexed URL are verifiable The URL itself before adding more pages

The buying decisions behind stage two are in the VPS checklist; the money behind them in the itemised first-year cost. Two concrete maintenance examples are a 502 after a PHP upgrade and a Redis service that was running but unused, and What Is a VPS? explains which of these layers you own yourself.

Keep reading

My $6/month VPS: cost, speed caveats and the root-password incident · VPS buying checklist · English home · Original Chinese version of this guide