Truth be told, many CPA affiliate offer pages don’t do a good job at actually selling the offer.

90% of the time if you use a landing page you will get a better conversion rate (and higher ROI) in your CPA campaigns. Finding the right landing pages to use in your campaigns is quite easy if you use a spy tool, but where many non-technical people struggle is configuring web hosting for their landers.

Typically, since most of my landing pages are pure HTML/CSS/JS, I don’t need a VPS server to execute back-end logic (PHP, Python, Node.js, etc.), as all of the code is capable of being executed directly in the user’s browser.

Without the need to run back-end code the simplest way to host landing pages for CPA affiliate marketing is to use a content delivery network (CDN).

Amazon S3 coupled with the Cloudfront CDN has been my preferred method of hosting super fast landing pages for many years, but recently I discovered a new way to host them.

Edit: On July 27th, 2020 has stopped offering a free plan that can host websites. You’ll now have to pay because people were abusing their system.

Edit 2: On December 31, 2020 will no longer offer a free plan in any form. 

Free CDN Hosting for CPA Affiliate Landing Pages is a new tool created in the last year that totally revolutionizes and simplifies using a CDN to host static websites or landing pages.

Essentially, it’s a user interface that provides you with an easy way to host your content on the Cloudflare CDN completely for free… up to 100GB of data transfer per month.

You can literally deploy your landing pages with SSL and a custom domain name in under 5 min. The best part about is if you modify or add any files from your supported cloud storage account (Google Drive, Dropbox, Box, Microsoft OneDrive, MediaFire, or GitHub) they are synced to Cloudflare’s global CDN automatically… within seconds.

No need to invalidate the CDN cache, force the files to be fetched from the origin, or even sift through 1,000 configuration options to ensure your landing pages always load fast. Set Up Tutorial

Let me show you just how simple it is to get your landing pages configured on Cloudflare’s CDN using from start to finish.

Step 1: Create an Account

Obviously, the first thing you’ll need to do is sign up for a free account. Create a username and password and then verify your email address by clicking the link they send to the email address you register with.

free CDN for hosting affiliate landing pages

Step 2: Create a New Site

Once you’re able to log into your account you’re going to want to click the blue “New Site” button. landing page hosting

Pick a name for your website. Make it something easy to remember.

make new website on free CDN

Select the cloud storage provider where you’d like to save your landing page files. I use Google Drive because it’s easiest for me, but you can use any of the options (most of them have free accounts).

You’ll have to authorize to modify your cloud storage account, which will allow them to automatically create a folder on your behalf for your “website” and detect changes to the files you upload in this folder.

cloud hosting provider CDN

Boom! Your website is now configured, but since you haven’t yet added any files there’s not quite anything to see.

Click “Done”. review

You should then be taken to the main dashboard for your newly created site. It will look similar to this: dashboard

Step 3: Configure Site Settings

Now, we need to modify a couple of the site settings to prevent other affiliates from browsing all of the files we host on our domain.

Click the blue “Site Settings” button in the top right of your main site dashboard.

Disable the “Folder Browser” and “Metadata” options in the “Customization” section. website settings

Although not required, you can also disable search engines from indexing any of your files by scrolling further down the page and disable the “Searchable” option in the “Search Options” section.

This is optional because you can also prevent search engines from indexing your files by adding noindex meta tags in your HTML code.

Click “Apply Changes” in the green bar at the very top of your screen. user interface

Step 4: Add Your Custom Domain Name

Return to your site’s dashboard and then click on the “Domains” menu on the left side of your screen.

In the “Custom Domains and URLs” section, click click the blue button labeled “Add Custom Domain”.

Fill in the text field with your domain name that you’ve already purchased. I buy my domains from Namecheap, so I’ll be showing you how to set that up.

custom domain cloudflare CDN should automatically determine that the domain is registered. Click “Yes, Continue”.

On the next screen click “Switch to Fast DNS”. If you want you can also use your own DNS, but it’ll be much easier to set up your “website” if you just use the Fast DNS. free dns

You will then be given two DNS servers that you’ll need to point your domain to from your domain registrar dashboard… in our case Namecheap. DNS settings

Go to your Namecheap dashboard and find the domain you want to use with

On the “Domain” tab go to the “Nameservers” section and add the two DNS records gave you. Click the green checkmark.

namecheap landing page domains

After a couple of minutes you should be able to refresh and will be able to see that your DNS servers have been correctly configured.

An SSL certificate will automatically be applied so your site can use HTTPS.

Step 5: Upload Landing Pages to Google Drive or Other Cloud Provider

If you return to your dashboard and navigate back to your site’s dashboard you can click one of the many buttons to open the folder created in your cloud provider.

Upload some landing pages and will automatically sync/upload these files to the Cloudflare CDN. sync files from cloud hosting to CDN

When the syncing is complete you should be able to view your landing pages.

If you uploaded your files to Google Drive (or your chosen cloud provider) in a folder called “lander1” you can view your landing page at:

Do note that can only serve HTML, CSS, and Javascript files. As I mentioned above, if you need to execute server-side code you’d have to use a VPS, such as DigitalOcean. CDN vs. Amazon S3 + Cloudfront Loading Speed

When I found out about I thought it was amazing how simple they made the process of uploading files to a content delivery network… without all of the additional and confusing options.

But, since I’m a long time Amazon S3 + Cloudfront user I had to test the loading speed vs.

To compare the loading speeds of each service I used the exact same landing page code and ran multiple website speed tests. To my surprise, the loading speeds were very, very similar in all of the tested regions. was faster than Cloudfront on some tests, but only by a very small margin (~50ms). At the same time, Cloudfront occasionally was slightly faster than, but the load speed difference was again very small (~50ms); essentially unnoticeable. Free CDN Review Conclusion

In my opinion, is a great alternative to Amazon S3 and Cloudfront (or even other CDN providers) since the loading speeds are pretty much equal.

The biggest benefit of is the extremely easy set up, configuration, and deployment of a static website or landing page. The dashboard doesn’t have a ton of the unnecessary features most people aren’t ever going to need.

It’s just simply configured right for optimal loading speeds of static resources.

The free plan is going to be more than enough for most people, as it includes:

  • Lightning-Fast Enterprise-Grade CDN (Cloudflare)
  • Custom Domain Names and Secure HTTPS (SSL Certificates)
  • Ability to host 5 different websites
  • 100GB of data transfer per month (that’s a lot)
  • Possibility to integrate server-side Google Analytics (meaning no need to add the Javascript on all your web pages)

Paid plans are also available if you have higher requirements than the free plan (more websites, ability to serve larger files than 500mb, password protect files, or more data-transfer). Very affordable… from just $10/month (yearly billing).

I’ve only recently started deploying some of my landing pages to and I’m certain that I’ll be deploying more in the future. It’s a no brainer when there is essentially zero compromises in page load speed and it significantly speeds up your workflow.

    14 replies to "Dead Simple CDN Hosting for CPA Affiliate Landing Pages"

    • PingHo

      awesome, I may create an account and try

      • nick


    • zak

      Tried this. First, I converted a small & slow WP lander (5 seconds on GT Metrix) into static HTML using a plugin called WP2Static. Then, I uploaded files into Google Drive & connected that with It was all very easy to do. I then put the new site through GT Metrix & got 4.7 seconds – fully loaded. I switched on all the performance settings & got 3.9 seconds – fully loaded. So, the process resulted in an improvement, but it was by no means ‘lighting fast’ or particularly worth the effort. I should point out that I was using a GT Metrix test server in my city for each test.

      • nick

        That’s interesting.

        With my tests the load speeds were essentially the same as Amazon S3 + Cloudfront… on multiple different speed test tools (Pingdom, WebPageTest, and GTMetrix). Not sure what hosting you were using before, but I normally use AWS hosting so that’s what I compared to.

        Still… a 20% page speed improvement is pretty good in my book (especially when your lander is already taking 5 seconds to load?!?!).

        • zak

          Yeh the lander load time is terrible. Really bad. Since I wrote the above, I tested a similar build on Unbounce and got a pretty slow load time too over there … so maybe the issue is with the form embed rather than with I need to figure out how to load the form embed before all the usual stuff that loads on a page first. Does anyone know of a wordpress plugin that allows script prioritization?

          • nick

            Putting the WordPress issues aside… if you’re embedding external resources that’s likely the issue causing the speed issues. You should be able to see this on a waterfall on one of the speed test tools I mentioned above.

            I don’t use WordPress for anything related to paid traffic campaigns. I’m not sure what you’re advertising, your target market, vertical, type of campagins, etc, but in 95% of cases, I wouldn’t use WordPress.

            • zak

              Actually, I find WordPress landers will load (w/o an embed) as fast as Unbounce … easily. Key is a good host, Varnish, thin theme, and a good builder. What’s your ‘go-to’ set-up? Static HTML & What do you use for forms?

              • nick

                That would be surprising to me, as WordPress is bloated and has to execute code that you don’t need on the page that’s loading. WordPress is designed as a content management system, which is a bit overkill for a marketing landing page… IMO. If you’re just advertising in the US you might be OK with using WordPress since the internet speeds are typically fast for everyone, but other countries… not so much.

                My “go-to” setup is typically Amazon S3, Cloudfront CDN, and barebones HTML/CSS/JS. This was what I’d typically use for CPA affiliate landing pages. If I need forms on these pages I’ll just do an AJAX request to post the data. But, now that I’ve found I’ve been using it instead of Amazon because it’s much easier and faster to work with. ?

                For stuff on Google and FB (sometimes native as well), I really like to use Instapage. Always fast, easy to make the pages, and making forms are super easy because you don’t have to worry about any of the validation yourself.

    • Emmanuel Ediau

      Interesting discussions to follow. I will be checking again and again to pick your great brains. thanks

    • Eric Kendall

      This is great stuff. Thanks for taking the time here Nick.

    • Tom

      Hey Nick, great content and post. Enjoying your guides. On the aside, I noticed that you’ll be doing a webinar with Richads for push ads. Is Richads legit void of bot traffic? I know it takes more work than simply launching push ads. I’ve read negative reviews on Rich push. What are your thoughts? Can you recommend another traffic source for push ads?


    • Crypto JBro

      Thanks for this guide! FYI: My html page was not rendering properly. I had to uncheck “convert uploaded files to google editor format”.on Google Drive settings to get it working. I just thought I would pass that along.

    • Darren

      Hi Nick, glad I found your blog! Lots of great content. Tried to sign up with today however, they’re winding down the company as of Jan 2021 unfortunately. Looks like I’ll be using Amazon S3 with CloudFront.

      • nick

        Darren, was amazing because it was so simple to use; sad to see it go. AWS and CloudFront is a good option. It’s what I use.


Leave a Reply

Your email address will not be published.