Publishing your Psyke campaign on your own domain gives you full control of your content, strengthens your brand, and improves SEO. Psyke provides multiple ways to connect your pages, whether using a subdomain, a subfolder, or a reverse proxy.
Steps to Publish
Open your campaign in the editor
Go to Publish → Domain Setup
You’ll see the following options:
Choose a Subdomain: Enter the subdomain you want to use (e.g.,
pages,lp,go,products).Setup DNS: Pre-filled CNAME information you can copy to your domain provider.
Setup Reverse Proxy (optional): Toggle on if you want to proxy paths on your domain without changing the browser URL.
Subfolder URL: Input a subfolder path (e.g.,
/campaign) to publish under your main domain.
Publishing via Subdomain
Choose a subdomain in the input field.
Add a CNAME record in your domain provider:
Log in to your domain provider.
Navigate to DNS settings (often under Domain Management).
Add a new record:
Type: CNAME
Record Name: your chosen subdomain (e.g.,
pages)Value:
cname.vercel-dns.com
Save your changes.
Verify the changes:
DNS propagation can take up to 48 hours.
Once complete, your subdomain should redirect to your Psyke pages.
Troubleshooting:
Double-check for typos in the CNAME record.
Ensure no conflicting records exist for the same subdomain.
Contact Psyke support if the connection doesn’t work after 48 hours.
Publishing via Subfolder
Enter the Subfolder URL in the input field (e.g.,
/campaign).Your pages will now be accessible under your main domain at
yoursite.com/campaign.No DNS changes are needed for this setup.
Publishing via Reverse Proxy (Optional)
Reverse proxying allows you to serve Psyke content from your domain while keeping your URLs unchanged. This is useful if you want https://hostdomain.com/pages/* to display Psyke pages without redirecting to a subdomain.
Steps to Set Up a Reverse Proxy Using Cloudflare Workers
Create a Cloudflare Worker Script:
addEventListener("fetch", event => {
event.respondWith(handleRequest(event.request));
});
async function handleRequest(request) {
let url = new URL(request.url);
if (url.pathname.startsWith('/pages')) {
const newUrl = `https://pages.hostdomain.com${url.pathname.replace('/pages','')}${url.search}`;
return fetch(newUrl, { headers: request.headers });
}
return fetch(request);
}Replace
pageswith your chosen subdomain.Deploy the Worker:
Go to your Cloudflare dashboard → Workers tab.
Click Create a Worker, paste the script, test it, then click Save and Deploy.
Route Traffic to the Worker:
In the Workers Routes section, create a route, e.g.:
https://hostdomain.com/pages/*
Assign the worker to this route.
Test the setup:
Visit any URL that matches the route pattern.
The browser URL will stay the same, but the content will be served from your Psyke pages.
💡 Tips:
Subdomains are easier to set up and manage for most users.
Reverse proxying offers flexibility if you want to keep your URL structure consistent.
Always test your pages after publishing to make sure content displays correctly on all devices.
With these options, Psyke makes it simple to publish campaigns on your own domain, giving you full control, better SEO, and a professional, branded experience.
