Snoika
Glossary·Technical SEO

What is a reverse proxy

Definition

A reverse proxy is a server that sits in front of a website and gets every request before the site's own server does.

It decides where each request goes, then sends the answer back to the visitor. A reverse proxy is a gatekeeper on the website's side of the connection. Visitors and crawlers only ever talk to the proxy.

TermReverse proxy3 min read · reviewed by the Snoika team

Reverse proxy defined for marketers

For a marketer, a reverse proxy is the layer that controls how your site answers people and bots. Content delivery networks such as Cloudflare run reverse proxies, and so do web servers like Nginx. Your developers set one up years ago and never mentioned it. Ask them whether you have one. Its settings can change what Google and AI crawlers receive.

How a reverse proxy works

A reverse proxy catches each request at the domain's public address and forwards it to a server behind it. When a browser asks for a page, the proxy checks its rules first. Its rules determine when it serves a stored copy or blocks the request. If it does neither, it passes the request to the origin server, which is the machine that holds the real site, and then relays the reply. Because every setup has its own rules, the same proxy can treat a browser and a bot differently.

nginx.confNginx
location /your-page {
  proxy_pass https://<origin-from-snoika>;
  proxy_set_header Host <origin-host>;
  proxy_set_header X-Forwarded-Host $host;
}
# Everything else keeps its existing location blocks

Reverse proxy vs forward proxy

A forward proxy acts for the user, and a reverse proxy acts for the website. A company sends staff traffic through a forward proxy so the sites they visit can't see who they are. A reverse proxy hides the website's servers from visitors and controls how requests reach them. To tell them apart, check whether the proxy belongs to the person who browses or to the site.

Why it matters for SEO

A reverse proxy matters for technical SEO because it decides what Googlebot receives when it crawls your pages. A well-configured proxy caches pages and cuts load times, which helps page speed scores. A badly configured one can send crawlers server errors or bot blocks, even though the site looks fine in your browser. Teams also use proxies to serve a blog from a subfolder such as /blog instead of a subdomain. If website rankings drop for no clear reason, check the proxy's logs and firewall rules before you rewrite any content.

How AI assistants use it

AI assistants reach your reverse proxy every time their crawlers fetch a page. Crawlers such as OpenAI's GPTBot and PerplexityBot identify themselves by name, and the proxy can allow or refuse each one. Bot-protection rules on a content delivery network can block these crawlers without anyone in marketing knowing. If your pages never show up in ChatGPT or Perplexity answers, run an SEO audit and ask your developers whether the proxy lets those bots through.

A simple real-world example

A shop runs its store on one platform and its blog on another, but it wants both at shop.com. A reverse proxy at shop.com sends every /blog request to the blog server. All other requests go to the store. Visitors and search engines see one domain, so the blog's articles count as part of the main site.

Related terms to know

Three other terms come up next to reverse proxies, and each covers a narrower or different job. Knowing them makes it easier to follow a conversation with your developers.

Content delivery network (CDN)

A content delivery network is a group of servers around the world that store copies of your pages close to visitors. CDNs work as reverse proxies, but their main job is speed and protection. Every CDN is a reverse proxy, but a reverse proxy doesn't have to be a CDN.

Load balancer

A load balancer spreads incoming traffic across several servers so that no one machine gets overloaded. It's a reverse proxy with one focused task. You'll find one on high-traffic sites.

Origin server

The origin server holds the website's real files and code. It sits behind the proxy and only answers the requests the proxy passes along. In that layout, the reverse proxy is the server that stands guard in front of the origin.

Look up more AI search and SEO terms in our glossary.

Related terms

All terms
Structured dataStructured data is information arranged in fixed, labeled fields, so a machine can read it without guessing what it means. On a website, the term means schema markup. That's code in a format such as JSON-LD that tells search engines and AI assistants exactly what a page describes, such as a product SubdomainA subdomain is a label added to the left of a registered domain name. It creates a separate address under that domain, such as blog.example.com under example.com. The domain owner can create subdomains at no extra cost and point each one to its own server. A subdomain is a named branch of a domain tOrphan pageAn orphan page is a live page on a website that no other page on the same site links to. Visitors and search engine crawlers can reach it through a direct URL or a sitemap entry. A link from another domain provides the only other route. In SEO, orphan content sits outside the site's internal link structure.Robots.txtRobots.txt is a plain text file at the root of a website. It tells crawlers which URLs they may request. Search engines and AI bots fetch it before they crawl anything else, and the file uses it to ask them to skip certain paths. It can't force a bot to obey, and it doesn't remove pages from search results. Robots.txt contains crawl requests that well-behaved bots choose to follow.HreflangHreflang is an HTML attribute that tells search engines which language and region each version of a page is written for. If you're asking what is hreflang, you mean the hreflang tag in a page's head. It lists every translated or regional copy of a page so Google can show each searcher the copy in their language.

See how AI talks about your brand

Get free audit