Help for owners
My website opens for me but customers in other countries cannot reach it
Short answer
When a site fails only in some countries, the cause is usually a rule that depends on where the visitor is: a country block on a CDN, a firewall rule, or a DNS or certificate problem that shows up only on some networks. Ask the affected person for the exact error and a screenshot before changing anything.
Does this sound like your situation?
- Customers in one country say the site will not open, but it loads fine for me.
- Visitors see a Forbidden or Access denied page instead of the site.
- The site works on mobile data but not on the office network, or the other way round.
- Search or ad traffic from one market suddenly fell to almost nothing.
- A VPN makes the site open for the person who could not reach it.
Why does this happen?
A country allow list or block list was switched on
CDN services can restrict a whole distribution by country. On Amazon CloudFront, a visitor from a country that is not allowed gets an HTTP 403 Forbidden answer. The restriction applies to the whole distribution, so one switch can lock out a market without anyone noticing.
Confirmed by docs.aws.amazon.com
The location lookup is not perfect
CloudFront says it finds a visitor's country from a third-party database, and that accuracy varies by Region. A real customer on a mobile network or a company network can therefore be placed in a country you blocked.
Confirmed by docs.aws.amazon.com
A security rule blocks the request
A web application firewall in front of the site can block requests by country, by network or by behaviour. AWS notes that an Application Load Balancer with a firewall rule attached answers a blocked request with 403. The site itself is healthy; the rule stands in front of it.
Confirmed by docs.aws.amazon.com
DNS or the certificate behaves differently on some networks
If a domain resolves to different addresses in different places, or a certificate chain is incomplete, some networks and devices fail while others work. This looks like a country problem but is a configuration problem.
Technical detail: The site looks fine in a browser but its SSL chain is incomplete
The site is slow far from the server
A site hosted on one continent can time out for visitors on a poor international connection. Visitors report it as down, though it only answers too slowly.
What can I do about it today?
- Ask for the exact messageAsk one affected customer for a screenshot of what they see, the country and the network (home, mobile, office). Forbidden, timed out and certificate warning are three different problems.
- Test from your sideTry the site on mobile data as well as on your usual connection. If you have a free online site-checker you trust, run the address through it; do not install anything.
- Look at what changed recentlyAsk whoever manages the site, hosting or security settings whether anything was changed in the days before: a new security service, a CDN, a firewall rule, a certificate.
- Do not open the site to everyone in a hurryIf a country was blocked on purpose, for example because of a legal or licensing reason, removing the block is a decision for you and your adviser, not a quick fix.
- Tell affected customers another routeWhile it is being fixed, give them a phone number or email address so that sales are not lost.
When should I bring someone in?
- The error is a Forbidden or Access denied page and nobody knows which service produces it.
- Several countries are affected, or paid traffic is going to a page nobody can open.
- Nobody on your side has access to the CDN, firewall or DNS settings.
How do I handle it?
- Reproduce it from the outsideI collect the error, the country and the network from the affected person and check the site's answer, DNS and certificate as that visitor would see them.
- Follow the request through each layerDNS, CDN, firewall, load balancer, web server. I find the first layer that refuses or fails, using the logs of each one.
- Change one rule at a timeThe fix is a single, written change with a note of the previous setting so that it can be put back.
- Check from several places afterwardsI confirm the site answers on different networks and write down which rules decide who can reach it.
The price depends on what I find, so I quote in writing after a short discovery call. Tell me what is happening and I reply within 24 hours.
What do owners ask about this?
Is my site hacked if only some countries are affected?
Not necessarily. A country rule, a firewall rule or a network-specific DNS or certificate problem produces the same symptom. Check the error message before assuming an attack.
Can I just allow every country again?
Technically yes, but if the block was set for a reason such as licensing or fraud, that reason still applies. Find out who set it and why first.
Why does it work with a VPN?
A VPN makes you appear to be in another country, so a rule based on country no longer applies to you. It is a useful clue that the cause is location-based.
Sources
How was this page made?
I drafted this page with AI assistance from the official documents listed under Sources. Found a mistake? Tell me.