Skip to content

How a website reaches your visitors

What happens in the second between someone typing your web address and your page appearing, step by step, in plain English.

Written by 3 min read

Browse all guides

The short version

When someone types your web address, their device looks up where your site lives, connects to it securely, and downloads your page. It takes well under a second.

Three different services make that happen: the company you registered your name with, the address book that points the name somewhere (DNS), and the place your site actually lives (hosting). Knowing which is which makes almost every website problem easier to understand.

What’s in a web address

Before the trip starts, it helps to know what you’re looking at. A web address has a few parts, and each one has a job.

The parts of a web address

  • https://Secure connectionthe padlock
  • www.Subdomainoptional, often left off
  • yournameYour namethe part you choose
  • .comEnding (TLD).com, .org, .studio…
  • /aboutPagewhich page on the site
yourname.com together is your . Everything after the slash is a page on your site.

The trip, step by step

Say a customer types yourname.com into their phone. Computers don’t find each other by name. They use numeric addresses called , so the first job is turning your name into a number.

From typing a name to seeing a page

  1. Your visitortypes yourname.com
  2. “Where is it?”
  3. DNSlooks up where the site lives
  4. connects securely
  5. Cloudflarethe nearest server answers
  6. fetches the page
  7. Your site’s hostonly asked if needed
This is how a doxDev site is set up. Other sites may skip Cloudflare and go straight to the host.
  1. The lookup. The phone asks , the internet’s address book, where yourname.com lives. DNS answers with an address.
  2. The connection. The phone connects to that address and the two sides set up an encrypted connection. That’s the padlock in the address bar (how HTTPS works).
  3. The page. The server sends back your page: the text, then the images, fonts, and styles it needs. If a nearby server already has a saved copy, it sends that instead of asking your host, which is faster (caching).
  4. The browser draws it. The phone puts it all together on screen.

All of that usually happens in a fraction of a second, and most of it is saved along the way, so the next visit is even quicker.

The three services behind every website

Most confusion about websites comes from mixing up three separate jobs. They can be done by one company or three different ones, and they’re often billed separately.

Three jobs, often three companies

  • Registrar

    Keeps the name yours

    • You pay yearly
    • GoDaddy, Namecheap, Cloudflare…
  • DNS

    Points the name somewhere

    • Website and email records
    • Often at the registrar, or at Cloudflare
  • Hosting

    Where the site lives

    • Stores and serves your pages
    • For doxDev sites: qikSites

If you remember one thing from this page, make it this: owning the name, pointing the name, and hosting the site are different jobs. We explain each in Registrar vs DNS vs hosting.

Where email fits

One name, two destinations

Someone visits yourname.com

  1. Visitor
  2. DNSwebsite records
  3. Your websiteyour host

Someone emails [email protected]

  1. Sender
  2. DNSemail (MX) records
  3. Your inboxyour email provider
The same address book, two separate lists of directions. Your website and email can change independently.

Email on your domain ([email protected]) uses the same address book but goes somewhere else entirely: to your email provider, like Google Workspace or Microsoft 365. Your website and your email can change independently, as long as nobody deletes the other one’s records. More in Email on your own domain.

Go deeperWhat actually happens on the wire
  1. DNS resolution. The device asks a (usually run by the internet provider, or a public one like 1.1.1.1). If it hasn’t cached the answer, the resolver asks the root servers, then the .com servers, then your domain’s , and gets back an A or AAAA record.
  2. TCP and TLS. The browser opens a connection to that address (or uses QUIC for HTTP/3) and performs a TLS handshake. The server presents a for yourname.com, the browser checks it, and both sides agree on encryption keys.
  3. HTTP request. The browser sends GET / with a Host: yourname.com header, so one server can host many sites.
  4. Response. For a doxDev site, Cloudflare answers from its cache when it can, or fetches the page from qikSites (the ) and keeps a copy.
  5. Subresources. The browser parses the HTML and requests the CSS, JavaScript, images, and fonts it references, most of them also cached.

Sources and further reading

Want a website you don’t have to worry about?

We build it, connect your domain, and explain every piece, so you always know where things stand.