How a website works: from typing an address to seeing a page
Follow a single page request step by step: DNS lookup, connecting securely, the web server, PHP and the database, and the page arriving in your browser.
On this page
Knowing the journey a page takes makes nearly every hosting problem easier to place. When something breaks, it breaks at one of these steps.
1. The browser looks up the address
You type yourdomain.co.uk. Your device asks the Domain Name System which server that domain belongs to, and gets back an IP address. If this step fails you see “site can’t be reached”. What is DNS?
2. It connects securely
The browser connects to that IP on port 443 and the server proves its identity with an SSL certificate. If the certificate is missing or wrong, you get a security warning. What is SSL? (And what is HTTPS?)
3. The web server receives the request
The web server looks at which domain and which path was asked for, and finds the matching folder — on Traxio, your domain’s public_html. Rules in .htaccess files can redirect or block at this stage. What is .htaccess? A practical guide
4. A static file is sent, or code runs
- For an image, stylesheet or
.htmlfile, the server sends it straight back. - For a
.phpfile — including every WordPress page — PHP runs the code. What is PHP?
5. The code talks to the database
Applications like WordPress keep content in a MySQL/MariaDB database. PHP asks for the posts, settings or products it needs. What is MySQL (and MariaDB)?
6. The page is assembled and sent
PHP turns the results into HTML and the web server sends it back. The browser then requests each image, font and script it references — often dozens of further requests.
Where problems show up
| Step | Typical symptom |
|---|---|
| DNS | Site can’t be reached, or an old site appears |
| Certificate | “Your connection is not private” |
| Web server rules | 403 Forbidden, redirect loops, 404 |
| PHP | 500 error, blank page, critical error |
| Database | “Error establishing a database connection” |
| Assets | Page loads without styling, slow loading |
The troubleshooting guides are organised by those symptoms.
Traxio is simple, self-managed web hosting for 99p a month.
New to Traxio? Hosting is £0.99 a month. See what’s included
Common questions
What is a web server?
A web server is the program on the hosting machine that listens for requests from browsers and sends back your pages. When people say “the server is down” they usually mean that program, or the machine it runs on, has stopped responding.
This is a general web-hosting explanation, not specific to Traxio.
Spotted something out of date or unclear? Tell us and we’ll fix it.