Linux serverlinux web serverNETWORK ADMINISTRATIONS

The easiest CDN setup

The full video is here: https://youtu.be/TWtGwW_e56w

How to use Bunny CDN
Let’s set BunnyCDN
It only takes a minute

I have Toolbun.com and I’d like to set up a CDN in front.

1.
I go to my DNS provider Porkbun.com

2
I added a new 0nocache that goes to my server

3
I setup a Pullzone on bunnyCDN

4
Then we set up a hostname
Don’t forget to force SSL

I edit the root domain to use the BunnyCDN alias instead

5
Edit my Caddyfile (for Caddyserver) it is similar to nginx
I like to keep the original one to avoid downtime
Existing cached DNS will go directly to the server

Other ways
This is one way to set BunnyCDN up.
You can even use BunnyCDN as a S3 bucket
and just connect it to a CDN
Or you could just have a cdn.toolbun.com that only CDNs things that are important

source

by Martin Baun

linux web server

5 thoughts on “The easiest CDN setup

Comments are closed.