Server Location and Latency: Picking a Hosting Region
Many hosts let you choose a data center region when you sign up. It is one of the few settings that changes speed for every visitor, and it costs nothing to get right.
Method note · Updated November 2026
Why distance shows up in every request
Light in optical fiber travels at roughly two-thirds of its speed in a vacuum, which works out to about 200 kilometers per millisecond. A round trip therefore costs very roughly one millisecond for every 100 kilometers of cable between visitor and server, and real cable routes are longer than the straight line on a map.
That delay is paid more than once. Before a browser receives the first byte of a new page over HTTPS, it usually needs a DNS lookup, a TCP handshake (one round trip), a TLS handshake (one round trip with TLS 1.3, two with TLS 1.2) and then the request itself (one more round trip). A server that answers instantly is still several round trips away from a visitor on another continent.
| Step | Round trips (typical) | Affected by distance? |
|---|---|---|
| TCP connection | 1 | Yes |
| TLS 1.3 handshake | 1 | Yes |
| TLS 1.2 handshake | 2 | Yes |
| HTTP request and first byte | 1, plus server think time | Yes, plus server work |
Connection reuse, HTTP/2 and HTTP/3 reduce how often these costs are paid, but the first visit always pays them.
Choosing a region with a small test
Start with where your readers are, not where you are. Analytics or server logs usually show the countries that matter. If most visitors are in one area, a region close to them is almost always the right first choice.
- Ask the host for a test IP address or a test file in each region they offer. Many publish one.
- Run
pingor, better, a timedcurlrequest from machines or online test locations near your main audiences. - Compare the connect time, not just the total. Connect time isolates the network distance from the server's own work.
- Repeat at different times of day before deciding.
If your audience is spread across several continents, no single region wins. That is the situation where a content delivery network earns its place, because it serves static files from locations near each visitor while the origin stays in one region.
Other things that ride on the region choice
Region affects more than speed. Data protection rules may favor keeping personal data in a particular jurisdiction, and some hosts price regions differently. Backups may be stored in the same region or a different one, which matters for disaster recovery. Read the plan description carefully, and see the hosting guide for how plan types differ.
Write down the region in your test notes. A result from one region tells you little about the same host's other regions.
Sources and further reading
- IETF RFC 8446 — The Transport Layer Security (TLS) Protocol Version 1.3.
- IETF RFC 9114 — HTTP/3.
- MDN Web Docs — articles on latency and connection setup.
- curl documentation — timing variables for
--write-out.
Get notified about new notes
An occasional email when a new note is published. No offers, no advertising, unsubscribe any time.