How to proxy a remote location


Use Portzilla to easily proxy to any location on the internet.

In this tutorial, we use Portzilla to set up a Location Proxy to a website outside of our domain.

In a few minutes, you will understand how to move traffic from any part of your domain, including subdomains, to other services and websites on the internet.

[yoursite.com ⟶ anywhere.com]

Check out the short video and tutorial to get started.

Additional Notes

Remote Locations may not include ports other than 80 and 443.

Take care to set the protocol correctly. You may experience inadvertant redirects if anywhere.com uses https but Target Location is set to http://anywhere.com. In this case, set Target Location to https://anywhere.com.

Step 1
Point a subdomain at your server (OPTIONAL)

In this tutorial, we move traffic from our hello subdomain to a remote location. You can skip this step if your DNS records are already set for your subdomain.

In your Cloudflare Dashboard, click the DNS tab. Then, create an A or CNAME record with name: www or name: blog, for example. name should point to your desired subdomain.

For an A record, set value: [server ip].

For a CNAME record, set value: [server url].

Below, we create a CNAME record with name: hello and value: [server url]. This moves traffic from hello.networkchimp.fun ⟶ [server url].

Important: DNS records can take up to an hour to take effect. Ensure your DNS record is in effect before continuing.

portzilla dns configuration
Step 2
Configure and install Portzilla

We need to ensure that our remote service is responding by connecting to it directly at example.com.

Then, we install Portzilla with the following options on our Cloudflare domain.

Route Configuration

Route Name
My Proxied Location
Route URL
Route Target
Proxies to a remote location
Target Location
Step 3
Navigate to your route

Once installed, wait a few seconds, and then navigate your browser to the Route URL in your Portzilla configuration above.

We'll navigate to hello.networkchimp.com/location to connect to our service.

Important: if your page loads but doesn't look right, refer to Step 3 of this tutorial to learn how to configure your Target Resources.