Skip to main content

How to Set Up a Reverse Proxy

Updated over 2 months ago

A reverse proxy allows you to publish your Psyke pages under a subfolder on your main domain (example: https://yourwebsite.com/pages/...) while still hosting them on Psyke’s infrastructure. This keeps everything fully branded and improves SEO consistency — without adding technical overhead for your team.

What Is a Reverse Proxy?

When a reverse proxy is enabled, visitors see your pages on your primary domain, even though the pages are generated and hosted by Psyke.
Instead of directing traffic to a subdomain like pages.yourwebsite.com, the reverse proxy routes traffic from your main domain to your Psyke pages behind the scenes — keeping the browser URL exactly as you want it.

How to Set Up a Reverse Proxy

You’ll see the option during the publishing process:

  1. Go to Publish → Domain Setup in your campaign.

  2. Enter a subdomain (e.g., pages.yourwebsite.com) and add the provided CNAME record to your DNS provider.

  3. Enable “Reverse Proxy (optional)”.

  4. Choose the subfolder path you want to appear on your domain (e.g., /pages).

  5. Follow the displayed instructions to set up the proxy (Psyke currently supports Cloudflare Workers).

  6. Deploy the worker and map the route (example: https://yourwebsite.com/pages/*).

Once configured, traffic to your main domain’s subfolder will load all Psyke-hosted pages without redirects.

Reverse Proxy vs. Subdomain: What’s the Difference?

Feature

Subdomain Only (pages.yourwebsite.com)

Reverse Proxy (yourwebsite.com/pages/...)

Brand consistency

Medium

High (same main domain)

SEO equity

Separate from main domain

Inherits main domain authority

URL structure

Independent URL

Clean, on-brand subfolder

Setup complexity

Simple CNAME

Slightly more setup (Cloudflare Worker)

Ideal for

Quick setups

SEO-focused or brand-sensitive teams

Benefits of Using a Reverse Proxy

1. Stronger SEO Performance

Publishing pages under a subfolder allows them to directly benefit from your main domain’s authority — something subdomains don’t always inherit.

2. Seamless Branding & UX

Your marketing pages, campaign content, and AI-generated landing pages live on the same root domain, resulting in a more cohesive experience.

3. Redirect-Free Browsing

The URL stays untouched (yourwebsite.com/pages/...), even though the content is served from your Psyke subdomain.

4. Full Flexibility

Reverse proxying makes it possible to scale large page sets while keeping strict control over your domain structure.

When Should You Use It?

Choose subdomain if you want the fastest setup.
Choose reverse proxy if you care most about:

  • SEO authority consolidation

  • Totally seamless brand alignment

  • Cleaner URL structures

Most teams using Psyke for large-scale SEO or long-tail keyword campaigns prefer the reverse proxy setup.

Did this answer your question?