Knowledge Base

Find answers to common questions about Cloudmersive products and services.



Cloudmersive Reverse Proxy and Cloudflare Host Header Rewrite
4/27/2022 - Cloudmersive Support


When using Cloudmersive Reverse Proxy with Cloudflare CDN in front of the proxy, you will want to typically enable host header rewrite.

This allows Cloudflare to change the domain name of the request from www.mydomain.com to myinstance-managed-instance.cloudmersive.io. This eliminates the need to install a custom SSL certificate on your Cloudmersive Reverse Proxy Managed Instance.

Configuring Host Header Rewrite in Cloudflare

To rewrite the Host Header:

  1. Go to Rules > Page Rules and create a new Page Rule.

  2. Specify the URL to match.

  3. In Pick a Setting, select Host Header Override. Then, enter the override value. This will be the host name of your Cloudmersive Managed Instance, e.g. myinstance-managed-instance.cloudmersive.io

  4. Click Save and Deploy.

Now, any request matching the URL you specified will have the host header overridden to the one you entered in the Host Header Override text box.

800 free API calls/month, with no expiration

Get started now! or Sign in with Google

Questions? We'll be your guide.

Contact Sales