Overview
This guide outlines the steps required to configure a Reverse Proxy for your Treez eCommerce site. This setup allows your online menu to appear as if it’s hosted on your own domain, such as https://www.yourdomain.com/menu, while the content is served securely from Treez infrastructure.
Prerequisites
Before you begin, please ensure the following are complete:
Cloudflare DNS: Your website must be using Cloudflare as the DNS provider.
Important: the free plan is not recommended.
Free Plan Limitations:
Includes 100,000 worker executions per day through Cloudflare
These executions deplete quickly since each page navigation consumes a worker execution
Every time a user navigates to a page, our system uses a worker to redirect traffic to your menu system
Important Consideration: While you can launch with the free plan, exceeding the daily execution limit would prevent the proxy from functioning properly, potentially causing temporary site unavailability.
Recommendation: The free plan is suitable for initial testing or sites with minimal traffic. For business-critical applications or higher traffic volumes, we recommend our paid plan to ensure continuous availability and support.
If you're migrating from another DNS provider (e.g., GoDaddy), request a copy of the Cloudflare migration instructions from your Treez Account Rep.
If you're using a DNS provider other than Cloudflare, please contact Treez Support for custom instructions.
Cloudflare Access: Invite the Treez technical team to your Cloudflare account with full admin permissions. Your Treez Account Rep will provide the appropriate contact to invite.
Cutover Timing: Coordinate with your Treez Account Rep to choose a cutover time (outside of business hours is highly recommended).
Treez requires at least 72 hours’ notice to schedule the go-live with a technician.
Menu Path Confirmation: Decide on the menu URL path (e.g., /menu, /shop). Share the full URL with your Treez Account Rep (e.g., www.yourdomain.com/menu, yourdomain.com/menu)
Website Backup: Ensure your current website is backed up before proceeding.
SEO Cleanup: Mark any unused pages in Prismic as no index / no follow to prevent them from being indexed by search engines. Refer to the Help Center article on SEO cleanup for Prismic.
Setup Instructions
1. Create a Subdomain
Your Treez Account Rep will create a new DNS record using a subdomain like shop.yourdomain.com within 24 hours of launch.
Note: If you are already using a reverse proxy with another ecommerce platform, your web team must be available to remove this configuration from your DNS. They’ll be responsible for removing the existing proxy and updating the A Record in Cloudflare.
2. Update DNS Settings in Cloudflare
Update the main A Record to point to the new IP address provided by Treez.
Enable Cloudflare Proxy for the updated A Record.
3. Reverse Proxy Deployment (Treez Team)
At the scheduled time:
A Treez technician will run the Reverse Proxy script.
The Reverse Proxy App will be installed within the Treez eCommerce admin.
The Base Path (e.g., /menu) will be configured in the app.
Best Practices
When migrating from another ecommerce provider, set up redirects in Cloudflare. To find out more, click here.
Support
If you have questions or run into any issues during this process, contact your Treez Account Rep for assistance.