- 8 stages
- 112 guides
- ~10.5 hr of reading
- 8 hands-on checkpoints
0 of 112 guides read
Tick guides as you finish them. Progress is saved in this browser only. Make a free account to keep it across devices and earn a certificate at the end.
Start from your goal
-
I want to know how domains work
Understand DNS -
I want to run my own server
Your first VPS -
I need to move a site or email
Move to a new host -
Something is down right now
Fix a broken site
-
Stage 1
How the web reaches a server
The handful of ideas every other guide builds on: what a server is, how a name becomes an address, and what the padlock really means.
By the end you can
- Explain what happens between typing a domain and seeing a page
- Tell an IP address, a port and a domain apart
- Say what HTTPS protects, and what it does not
Read in this order
- What is web hosting?
A website is a set of files and usually a database.
- What is an IP address? IPv4 and IPv6 explained
The number every device on the internet uses to find every other device, the difference between IPv4 and IPv6, and public versus private addresses.
- What is a port number?
If an IP address finds the server, the port finds the right program on it.
- How DNS works
DNS turns a name like example.com into the IP address of a server.
- How HTTPS works
What the padlock actually means, what a certificate proves, and what happens in the first fraction of a second of every secure connection.
Go further
- Common network ports and what they are used for
The network ports you will meet most, from 22 for SSH to 3306 for MySQL: what each one is for and whether it should be open to the internet.
- What is a server? A plain-language guide
What a server is, how clients and servers talk, the main types of server, physical versus virtual, and how you actually work with one.
- How to check your IP address in Linux
Find a Linux machine's private, public and IPv6 addresses with ip addr, hostname -I or curl, and know which one to use for SSH, DNS and firewalls.
- IP checker: how to check your public and private IP
Check your public and private IP address on Windows, Mac, Linux, iPhone and Android, find a website's server IP, and read what an IP checker shows.
- Port checker: how to check if a port is open
Check whether a port is open with nc, Test-NetConnection, curl or nmap, read open, closed and filtered results, and find which layer blocks it.
- What is an NTP server? How time sync works on servers
What an NTP server does, why a wrong clock breaks HTTPS and logins, and how to check, change and serve time sync on Linux.
- Reverse IP lookup: how to find the domains on an IP
Run a reverse IP lookup to find the host name and websites behind an IP address, see who owns it, and know why every result is incomplete.
Checkpoint
Read a website like a server does
- Run
dig example.com +shorton your own domain and find the IP address it returns. - Run
curl -I https://example.comand identify the status code and the server software. - Open the padlock in your browser and find who issued the certificate and when it expires.
Words to know IP address Port DNS Web server HTTPS HTTP status code
-
Stage 2
Domains and DNS
Take control of your domain: who holds its records, what each record does, and how to change them without breaking the website or email.
By the end you can
- Point a domain or subdomain at any server
- Read and write A, CNAME, MX and TXT records
- Plan a DNS change so it takes minutes, not days
- Publish SPF, DKIM and DMARC so your email is trusted
Read in this order
- DNS record types explained
A, AAAA, CNAME, MX, TXT, NS, CAA and SRV records explained in plain English: what each DNS record does, when you need it, with real examples to copy.
- What is a nameserver?
Nameservers hold your domain's DNS records.
- How to point a domain to a server
Connect a domain to your hosting by setting A records, adding www, and checking the change before you rely on it.
- What is DNS propagation and how long does it take?
Why a DNS change reaches some people in minutes and others in hours, how to check its progress, and how to make the next change faster.
- How to set up SPF, DKIM and DMARC
Three DNS records that prove your email is really from you, so it reaches inboxes and nobody else can send as your domain.
Go further
- How to flush your DNS cache
Make your computer forget old DNS answers after a site move or record change.
- DNS lookup: how to check any domain’s DNS records
Run a DNS lookup with dig, nslookup or PowerShell, read the answer and status, and check whether a DNS change is really live.
- How to check if a domain name is available
Check whether a domain is free with a WHOIS or RDAP lookup, read what "taken" really means, and see why a missing website proves nothing.
- DNS leak test: how to check where your DNS goes
Run a DNS leak test from the command line, see which resolver really answers your lookups, and stop DNS queries escaping your VPN.
- Google DNS: what 8.8.8.8 is and how to use it
What Google Public DNS (8.8.8.8 and 8.8.4.4) does, whether to use it, and how to set and test it on Windows, Mac, phones, routers and Ubuntu.
- Reverse DNS lookup: what PTR records are and how to check
Run a reverse DNS lookup with dig, nslookup or PowerShell, see why PTR records matter for email, and set reverse DNS for your server.
- Quad9 DNS: what 9.9.9.9 is and how to use it
What Quad9 DNS (9.9.9.9) is, which of its addresses to use, how to set and test it on any device, and why it can block your own site.
Checkpoint
Make a safe DNS change
- Find which nameservers control your domain with
dig NS example.com +short. - Create a test subdomain, such as
test.example.com, with a TTL of 300, pointing at any server. - Check it from two public resolvers,
@1.1.1.1and@8.8.8.8, and watch the TTL count down. - Publish a DMARC record with
p=noneand a report address.
Words to know A record CNAME record MX record TXT record TTL Nameserver Domain registrar WHOIS SPF DKIM DMARC
-
Stage 3
Choosing hosting
Read hosting plans for what they really offer, size a server from your own numbers, and decide how much of the running you want to do yourself.
By the end you can
- Choose between shared, VPS, dedicated and cloud for a given site
- Size memory and CPU from real usage, not plan names
- Decide between managed and unmanaged with eyes open
- Read an uptime guarantee for what it actually promises
Read in this order
- Shared vs VPS vs dedicated vs cloud hosting: the difference
Shared, VPS, dedicated and cloud hosting compared: how each divides up a physical server, who manages your part of it, and which one suits your site.
- Managed or unmanaged hosting: which do you need?
The server can be identical.
- How much RAM and CPU does a website need?
Rough starting sizes for common sites, why memory runs out before CPU, and how to measure what your own site actually uses.
- What does 99.9% uptime actually mean?
Uptime percentages converted into real downtime per month and year, and what a host's guarantee really promises.
Go further
- What is cPanel (and Plesk)?
Control panels put a web interface on top of a hosting server, so you can manage sites, email, databases and files without the command line.
- When to move off shared hosting (and what to move to)
The signs that a site has outgrown shared hosting, how to prove it from your own numbers, and what to move to when it really has rather than guessing.
- Linux vs Windows servers: which should you use?
Linux and Windows servers compared for hosting: cost, software, how you manage each one, security and updates, and how to pick the right one for your site.
Checkpoint
Write your hosting brief
- List what the site runs (CMS, PHP version, database) and where most visitors are.
- Estimate monthly transfer from page weight times monthly visits.
- Pick a type and a memory size, and write down why.
- Check the renewal price, backup policy and how you would leave.
Words to know Shared hosting VPS Dedicated server Bandwidth Inode Uptime Control panel Root access
-
Stage 4
Running cPanel and WHM
Most shared hosting runs cPanel. Every tool you need, shown step by step with real screenshots. The full order is on the cPanel roadmap.
By the end you can
- Find any cPanel tool and read your account details
- Set up domains, HTTPS, WordPress, databases and email
- Take backups, change PHP and schedule tasks
- Tell a resource limit from a broken site
Set up
- How to use cPanel: a tour of every section
A screenshot tour of cPanel's home screen: where each tool lives, what the General Information panel tells you, and the ten tools most site owners use.
- How to add a domain or subdomain in cPanel
Add another website, a subdomain or an alias to a cPanel account, choose its folder, force HTTPS, and set up redirects, with screenshots of each step.
- How to install a free SSL certificate in cPanel
Get free certificates for every domain in cPanel with AutoSSL, read the SSL/TLS Status page, fix the reasons a domain is skipped, and force HTTPS.
- How to install WordPress in cPanel
Install WordPress from cPanel with WP Toolkit or Softaculous, choose the right options, then manage updates, backups and security from one screen.
- How to create a MySQL database in cPanel
Create a database, a database user and the link between them with cPanel's Database Wizard, then find the exact values your website's configuration needs.
- How to create an email account in cPanel
Create a mailbox in cPanel, connect it to your phone and mail app, add forwarders, and check your domain's email is trusted, with screenshots.
Run and maintain
- How to edit DNS records in cPanel’s Zone Editor
Add, edit and delete A, CNAME, MX and TXT records in cPanel's Zone Editor, and first check that cPanel really controls your domain's DNS.
- How to back up and restore a website in cPanel
Make a full cPanel backup, download partial backups of files and databases, restore them, and understand what your host's own backups do and do not cover.
- How to change the PHP version and settings in cPanel
Change the PHP version per domain with MultiPHP Manager, and raise limits such as memory_limit and upload_max_filesize with the INI Editor.
- How to set up a cron job in cPanel
Schedule a script in cPanel, write the cron command correctly, stop the email flood, and replace WordPress's unreliable wp-cron with a real one.
- How to check resource usage and errors in cPanel
Find out why a cPanel site is slow or showing 503 and 508 errors: read Resource Usage graphs, spot which limit was hit, and check the error log.
Server admin (WHM)
- How to use WHM: a tour for new server admins
What WHM is, how it differs from cPanel, where its tools live, and the first things to set up and secure on a new cPanel server.
- How to create a hosting package in WHM
Define hosting plans in WHM with sensible disk, bandwidth, email and database limits, pick features and the cPanel theme, and move accounts between them.
- How to create a cPanel account in WHM
Create a hosting account in WHM step by step: domain, username, password, package and settings, what happens when you click Create, and how to check it.
- How to modify, suspend and terminate cPanel accounts in WHM
Change an account's domain, username or limits, suspend it with a reason, reset its password and remove it for good, safely and in the right order.
- How to configure backups in WHM
Set up automatic backups for every cPanel account in WHM: backup type, schedule, retention, what to include, an off-server destination and a test restore.
- How to manage PHP in WHM: MultiPHP and EasyApache 4
Install PHP versions and extensions with EasyApache 4, set the default version and handler in MultiPHP Manager, and set server-wide PHP limits.
- How to set up AutoSSL in WHM
Turn on free automatic SSL for every cPanel account with WHM's AutoSSL, choose Let's Encrypt or Sectigo, read the logs and fix skipped domains.
More guides
- Addon domain vs subdomain vs alias in cPanel
Addon domain, subdomain or alias in cPanel?
- What is WHM and how is it different from cPanel?
WHM is the server administrator's control panel and cPanel is the customer's.
- How to restore a full cPanel backup
A full cPanel backup can only be restored as a whole from WHM.
Checkpoint
Follow the cPanel roadmap
- Open /paths/cpanel/ for the same guides in seven smaller stages, each with its own checkpoint.
Words to know cPanel Control panel WHM Inode
-
Stage 5
Your first server
From a fresh VPS to a locked-down server serving your site over HTTPS, with updates and backups running on their own.
By the end you can
- Log in with SSH keys and no passwords
- Run a firewall that only opens what you need
- Serve a site with Nginx and a free certificate
- Keep the server patched and backed up without remembering to
Read in this order
- How to connect to a server with SSH
Open a secure command line on a remote server from Windows, macOS or Linux, and understand the host key prompt you see the first time.
- How to set up SSH keys
Replace passwords with a key pair, log in without typing a password, and then switch password login off for good.
- How to set up a firewall on Linux
Block everything except SSH and the web with UFW on Ubuntu or firewalld on RHEL-based systems, without locking yourself out.
- How to turn on automatic security updates
Have the server install security patches by itself every day, on Ubuntu with unattended-upgrades and on RHEL-based systems with dnf-automatic.
- How to install Nginx on Ubuntu
Install Nginx, serve your first site from its own folder, and learn the three commands you will use every time you change its configuration.
- How to get a free SSL certificate with Let’s Encrypt
Issue a trusted HTTPS certificate in one command with Certbot, redirect HTTP to HTTPS, and make sure it renews by itself.
- How to back up a Linux server
Dump the databases, copy the files to another machine every night with rsync and cron, and prove the backup works by restoring it.
Go further
- How to renew a Let’s Encrypt certificate with Certbot
Check that Certbot renews on its own, test renewal safely, force one when needed, reload your web server, and fix the usual reasons renewal fails.
- How to use rsync to copy and sync files between servers
Copy and sync folders locally or between servers with rsync: the options you need, the trailing slash rule, dry runs, deletes, backups and migrations.
- How to connect Cursor to a server over SSH
Edit files on your Linux server or VPS directly in Cursor with Remote-SSH: add the host, connect, open the site folder and use the terminal, step by step.
- How to build a WordPress site with Cursor
Build a custom WordPress block theme with Cursor's AI agent: set up WordPress locally, write project rules, generate the theme, refine it and put it live.
- How to edit a WordPress site with Cursor safely
Use Cursor to change and fix an existing WordPress site safely: back up first, use a child theme, let the AI read debug.log, and review every change.
- What is WSL? How to run Linux on Windows
Install the Windows Subsystem for Linux with one command and get a real Ubuntu terminal for practising server commands on your own PC.
- How to check your Ubuntu or Linux version
Find out which Ubuntu, Debian, AlmaLinux or Rocky Linux release a server runs, plus its kernel and architecture, with one or two commands.
- Git Bash for Windows: what it is and how to use it
Install Git Bash on Windows, learn how its paths work, and use its built-in ssh, scp and ssh-keygen to manage a Linux server.
- What is SSH? How Secure Shell works and how to use it
What SSH is, how it keeps a remote login private, the commands you will use with it, and how to keep SSH access to your server safe.
- How to SSH into a Raspberry Pi
Turn on SSH on a Raspberry Pi, find it on your network by name or IP address, log in from Windows, macOS or Linux, and fix the usual errors.
- What are SSH keys? How they work, explained
What an SSH key pair is, how the public and private halves prove who you are, where the files live, and how to keep your keys safe.
- How to generate SSH keys for GitHub
Create an SSH key with ssh-keygen, add it to your GitHub account, test it with ssh -T and push and pull without typing a password again.
- How to create an SSH key on Windows 10 and 11
Create an SSH key pair on Windows 10 or 11 with the built-in ssh-keygen, load it into ssh-agent, and copy the public key to a server.
- Where are SSH keys stored? Linux, macOS and Windows
Find your SSH key files on Linux, macOS and Windows, plus where a server keeps authorized_keys and its own host keys, and how to list them.
- How to copy SSH keys to a server, clipboard or new PC
Copy your public SSH key to a server with ssh-copy-id or PowerShell, to the clipboard for GitHub, and move a key pair to a new computer safely.
- What is Nginx? How it works and what it is used for
What Nginx is, how it handles many visitors at once, what it is used for, how its configuration works and the commands you will use every day.
- How to delete SSH keys from your computer and servers
Delete an SSH key properly: remove the key files, unload it from ssh-agent, revoke it on servers and GitHub, and replace it without locking yourself out.
- What are SSH host keys? How a server proves who it is
What SSH host keys are, how known_hosts uses them, how to check a fingerprint, and what to do when the host identification has changed.
- What do SSH keys look like? Public and private keys shown
See what SSH public keys, private keys and fingerprints look like, how to read each part, and how to tell key types and formats apart.
- How to generate SSH keys in Linux for server logins
Create SSH keys on Ubuntu, Debian, Fedora or Rocky Linux with ssh-keygen, protect them with a passphrase and use them to log in to your servers.
- Are SSH keys protected with a passphrase or a password?
An SSH private key is protected by an optional passphrase, not a password.
- Can you have multiple SSH keys? How to use more than one
Yes, you can keep several SSH keys.
- What is Ubuntu Server? A beginner’s guide to running one
What Ubuntu Server is, how it differs from Ubuntu Desktop, which release to pick and the first steps to set up and look after a new server safely.
- SSH port: what port 22 is and how to change it safely
What the SSH port is, how to find and connect on a non-standard port, and how to move SSH off port 22 without locking yourself out.
- Apache web server: what it is and how to use it
What the Apache web server does, how modules, virtual hosts and .htaccess work, where its files live and the commands you use every day.
- FTP server: what it is and how to set one up safely
What an FTP server does, how FTP, FTPS and SFTP differ, and how to set up secure file uploads with OpenSSH or vsftpd on Linux.
Checkpoint
A server you would trust with a real site
- Password login is off;
sshworks only with your key. sudo ufw status(orfirewall-cmd --list-all) shows only SSH, HTTP and HTTPS.curl -I https://your-domainreturns200with a valid certificate.- A backup ran last night, and you have restored one file from it.
Words to know SSH SFTP Firewall Nginx Let’s Encrypt SSL/TLS certificate Cron job Root access
-
Stage 6
Speed and scale
Make the same server handle many times the traffic, serve visitors from nearby, and put apps safely behind a proxy.
By the end you can
- Pick the right cache layer for a slow page
- Decide when a CDN is worth it, and set one up safely
- Run an app behind Nginx as a reverse proxy
- Choose disk redundancy without mistaking it for backup
Read in this order
- What is caching? Browser, page and object caches
Caching keeps a ready-made copy of something so it does not have to be built again.
- What is a CDN?
A content delivery network keeps copies of your site's files in data centers around the world, so visitors download them from somewhere close.
- What is a reverse proxy?
A reverse proxy stands in front of your servers, takes every request and decides who answers.
Go further
- RAID levels explained: RAID 0, 1, 5, 6 and 10
How each RAID level spreads data across disks, how many failures it survives, how much space you keep, and why RAID is still not a backup.
Checkpoint
Measure, cache, measure again
- Record time to first byte:
curl -o /dev/null -s -w "%{time_starttransfer}\n" https://your-domain/. - Turn on a page cache and confirm a
HITheader on the second request. - Measure again and compare.
Words to know Cache CDN Latency Reverse proxy Load balancer PHP-FPM DDoS RAID
-
Stage 7
Moving sites
Move websites and email between hosts in an order that keeps everything working, with a way back if it does not.
By the end you can
- Plan a move so nothing the old host did is forgotten
- Copy a WordPress site and its database to a new server
- Switch DNS with no visible downtime
- Move mailboxes without losing a message
Read in this order
- Website migration checklist
Everything to check before, during and after moving a website to a new host, so nothing is forgotten and nothing breaks.
- How to change hosts without downtime
Run the old and new servers side by side, switch DNS when the new one is proven, and keep the old one answering until the world has caught up.
- How to transfer a WordPress site to a new host
Copy the files and database, test on the new server before anyone else sees it, then switch DNS with the old host kept as your way back.
- How to migrate email to a new host
Move email to a new host without losing a message: copy every mailbox over IMAP, switch the MX records, then sync the stragglers that arrive late.
Go further
- How to migrate a cPanel account to another cPanel server
Three ways to move a whole cPanel account (files, databases, email and DNS zone) to a new server, with annotated WHM screenshots for each.
- How to transfer a WordPress site with a migration plugin
Move a WordPress site to a new host without the command line: what a migration plugin does, the steps that work, and what to check if the import fails.
- How to move a WordPress site between cPanel accounts
Move WordPress between cPanel hosts by hand: copy the files, export and import the database, edit wp-config.php, and test before switching DNS.
Checkpoint
Rehearse a move
- Copy a test site to a second server.
- Test it through your hosts file before touching DNS.
- Switch a low-TTL record, then switch it back, and time both.
-
Stage 8
Fixing what breaks
Read an error, find which layer failed, and fix it. Grouped by what you see, so you can also jump straight here when something is down.
By the end you can
- Tell from an error page which part of the stack failed
- Find the log line that explains it
- Fix the common causes of every major web error
Server errors (5xx)
- How to fix 502 Bad Gateway
A 502 means the web server asked the program behind it for a page and got no usable answer.
- How to fix 504 Gateway Timeout
The backend is alive but too slow.
- How to fix 500 Internal Server Error
A 500 is the server's way of saying "something broke and I won't say what".
- How to fix 503 Service Unavailable
The server is up but refusing work for now: maintenance mode, an overload, or a limit being hit.
Access errors (4xx)
- How to fix 403 Forbidden
The server found the page but will not show it.
- How to fix 404 Not Found errors on your site
A few 404s are normal.
- How to fix 429 Too Many Requests
A rate limit was hit.
Connection and HTTPS
- How to fix DNS_PROBE_FINISHED_NXDOMAIN
The browser asked DNS for the site's address and was told the name does not exist.
- How to fix ERR_CONNECTION_REFUSED
The server answered, but nothing was listening on that port.
- How to fix “Your connection is not private”
The browser does not trust the site's certificate.
- How to fix ERR_SSL_PROTOCOL_ERROR
The browser and server could not agree on a secure connection at all.
- How to fix ERR_TOO_MANY_REDIRECTS
Two rules are sending visitors back and forth forever.
WordPress and email
- How to fix “Error establishing a database connection”
WordPress cannot reach its database.
- How to fix the WordPress white screen of death
A blank page or "There has been a critical error" means PHP stopped with a fatal error.
- Why do my emails go to spam?
Most real mail lands in spam for fixable reasons: missing SPF, DKIM or DMARC, a server with a poor reputation, or a site sending mail it is not allowed to.
More guides
- The proxy requires a username and password: what it means
Why your browser asks for a proxy login, which username and password it wants, and how to remove a proxy you never meant to use.
Checkpoint
Know where to look before you need to
- Find your web server's error log and read its last 20 lines.
- Find PHP-FPM's log, and your database's.
- Write the three paths somewhere you will find them during an outage.
Words to know HTTP status code PHP-FPM Web server Apache