Blog
/
Martech
Article
Artículo

How to set up a reverse proxy with Webflow?

Reading time:
14 min
Published on:
July 27, 2023
Updated on:
December 30, 2023
By
Alberto Sadde
,
CTO & Founder
Verified Expert
in
Software Development
10+ years in tech

Alberto has a diverse background including roles as the Lead Engineer at Akorda, an AI-powered contract management service for Fortune 100 companies, Research Engineer and Manager at AiFi, a global provider of self-checkout technology for brick-and-mortar retailers.

Growth Marketing Partners
100+
Startups
served
50+
Migrations
to Webflow
7+
Years of
experience
500+
People trained
in Webflow

One way to ensure the safety and reliability of your website on Webflow is by setting up a reverse proxy. In this comprehensive guide, we will walk you through each step of the process, explain the benefits of using a reverse proxy, and offer troubleshooting tips to help you overcome common issues.

Preparing for the Setup

Before diving into the setup process, it's essential to ensure that you have everything you need and understand the underlying Webflow infrastructure. Let's go over the requirements and get familiar with the platform.

Requirements for Setting Up a Reverse Proxy

Setting up a reverse proxy on Webflow is relatively straightforward, but there are a few prerequisites you need to have in place:

  1. A Webflow Account: To begin, you'll need an active Webflow account. If you don't have one yet, head over to their website and sign up.
  2. A Custom Domain: In order to set up a reverse proxy, you will need a custom domain for your website. Make sure you have registered a domain and have access to its DNS settings.
  3. A Server with Proxy Capabilities: You will need a server capable of acting as a reverse proxy. This could be a physical server, a cloud-based service, or a virtual private server (VPS).
  4. An Internet Connection: Lastly, ensure that your server has a stable internet connection, as it will be responsible for handling incoming and outgoing traffic.

Understanding Webflow's Infrastructure

Webflow operates on a unique infrastructure that utilizes a global content delivery network (CDN) to serve your website's content. It's important to understand how Webflow's infrastructure works to effectively set up your reverse proxy.

In Webflow, your website's assets, such as images and static files, are stored on a CDN with multiple edge servers distributed globally. When a user accesses your website, the CDN routes the request to the nearest edge server, ensuring fast and reliable content delivery.

Keep in mind that Webflow's CDN handles static assets, while dynamic content, such as HTML pages and API calls, are still served directly from Webflow's servers. This is where the reverse proxy comes into play, allowing you to route all incoming requests through your own server.

Step-by-Step Guide to Setting Up Reverse Proxy on Webflow

Now that you have a solid understanding of reverse proxies and the necessary prerequisites, let's proceed with the step-by-step setup process on Webflow.

Step 1: Configuring Your Server

The first step is to configure your server to act as a reverse proxy. The exact process may vary depending on your server setup, but here are the general steps:

  1. Install and set up the reverse proxy software on your server. Popular options include Nginx, Apache, and HAProxy.
  2. Configure the reverse proxy software to listen for incoming requests on the desired port (usually port 80 for HTTP and port 443 for HTTPS).
  3. Create the necessary SSL certificates if you plan on serving your website over HTTPS. You can obtain free SSL certificates from Let's Encrypt or use a paid SSL certificate provider.
  4. Configure the reverse proxy to forward incoming requests to your Webflow website's hostname or IP address.
  5. Test the reverse proxy configuration to ensure that it's working correctly.

Step 2: Setting Up Domain

Once your server is properly configured, you can proceed with setting up the reverse proxy within the Webflow platform. Here's how:

  1. Login to your Webflow account and navigate to your website's dashboard.
  2. Click on “Settings" and select the "Publishing" tab.
  3. Scroll down to the "Production" section and click on the "Add Custom Domain" button.
  4. Enter your custom domain in the provided field and click "Add Domain."
  5. Save your settings and wait for the DNS changes to propagate. This process can take up to 24 hours, so be patient.

Once the DNS changes have propagated, all incoming traffic to your custom domain will be routed through your reverse proxy server.

Step 3: Testing the Setup

Testing your reverse proxy setup is an essential step to ensure that everything is working as intended. Here are a few things you can do to verify the configuration:

  1. Access your website using the custom domain you configured. Verify that the website loads correctly and all assets, including images and stylesheets, are displayed.
  2. Check the SSL certificate status to ensure that your HTTPS connection is secure. You can use online SSL checker tools to verify the validity of your SSL certificate.
  3. Perform several tests on your website, such as submitting forms, accessing secure areas, and using various functionalities. Ensure that everything functions as expected.
  4. Monitor your server's logs and performance metrics to identify any potential issues. Address any errors or anomalies that you come across.

If everything looks good during the testing phase, congratulations! You have successfully set up a reverse proxy on Webflow.

Troubleshooting Common Issues

While the setup process is relatively straightforward, issues can sometimes occur. Let's take a look at some common problems you may encounter and how to troubleshoot them.

Dealing with Connection Errors

If you experience connection errors when accessing your website through the reverse proxy, here are a few troubleshooting steps:

  • Check DNS Settings: Ensure that your DNS settings are correctly configured and pointing to your reverse proxy server's IP address.
  • Verify Firewall Settings: Make sure you have opened the necessary firewall ports to allow incoming traffic to your reverse proxy server.
  • Review SSL Certificate: If you're using HTTPS, make sure your SSL certificate is valid and properly installed on your reverse proxy server.
  • Inspect Reverse Proxy Configuration: Double-check your reverse proxy configuration files to ensure that they are set up correctly.

Resolving Configuration Issues

If you encounter configuration issues during the setup process, consider the following troubleshooting steps:

  • Check Syntax Errors: Review your reverse proxy configuration files for any syntax errors or typos. Even a small mistake can lead to misconfigurations.
  • Restart Reverse Proxy Service: After making configuration changes, restart your reverse proxy service to apply the updates.
  • Consult Official Documentation: Check the official documentation of your reverse proxy software for specific troubleshooting steps.
  • Seek Community Support: If you're still unable to resolve configuration issues, reach out to the software's community support forums or online communities for assistance.

Maintaining and Monitoring Your Reverse Proxy

Setting up a reverse proxy is just the first step. It's equally important to maintain and monitor your setup to ensure optimal performance and security. Here are some tips to help you with this ongoing process.

Regular Maintenance Tips

Keep your reverse proxy setup running smoothly with these maintenance practices:

  • Stay Up-to-Date: Regularly update your reverse proxy software to leverage the latest security patches, bug fixes, and performance improvements.
  • Monitor System Logs: Stay vigilant by monitoring your server's logs for any abnormal behavior, errors, or warnings. Promptly investigate and address any issues that arise.
  • Backup Configurations: Periodically back up your reverse proxy configuration files to facilitate easy recovery in case of accidental changes or system failures.
  • Revisit Security Measures: Regularly review your security measures, such as IP whitelisting and content filtering, to ensure they align with your website's needs and evolving threats.

Effective Monitoring Tools

Make use of monitoring tools to keep a close eye on your reverse proxy setup:

  • Web Server Logs: Analyze your web server logs to track website traffic patterns, identify potential attacks, and uncover optimization opportunities.
  • Performance Monitoring Tools: Utilize performance monitoring tools like New Relic or Datadog to track server metrics, response times, and resource utilization.
  • Security Scanners: Run periodic security scans using tools like Nessus, OpenVAS, or Qualys to identify vulnerabilities and take corrective actions.
  • Uptime Monitoring: Set up uptime monitoring services like Pingdom or UptimeRobot to receive alerts whenever your website experiences downtime.


You are now equipped with the knowledge and steps to set up a reverse proxy on Webflow. Remember to stay proactive in maintaining and monitoring your setup to keep your website running smoothly.

If you want to learn more about reverse proxies, don’t hesitate on reading our article What Is A Reverse Proxy Server and get to know all of its SEO benefits!