Skip to main content

Setting Up a Reverse Proxy for Your Treez Ecommerce Site

B
Written by Beth Graff
Updated this week

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.

  • 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.


Support

If you have questions or run into any issues during this process, contact your Treez Account Rep for assistance.

Did this answer your question?