<aside> 💡 You can use custom domains to bypass ad blockers.

</aside>

Requirements

Create a new Cloudflare Worker

  1. Click on the Workers tab & Create a new worker

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/89e3666b-08ee-4cf7-85d2-81193b0f2591/Untitled.png

  1. Copy and replace the code from https://github.com/splitbee/proxy/blob/main/index.js into the text area from cloudflare workers.

Name your worker that you can recognize it afterwards

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/5f25fbd4-19cb-44c6-b071-1285b54cb16e/Untitled.png

  1. Click on "Save and Deploy"

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/5dfcb2f5-3a47-4412-919a-39ea55704367/Untitled.png

<aside> ✅ Your worker is now available under https://something.else.workers.dev

</aside>

You can already use [<https://something.else.workers.dev/sb.js>](<https://something.else.workers.dev/sb.js>) as a custom domain in your script.

Link your Cloudflare managed domain to the worker

After deploying the worker, you need to navigate to one domain of your choice managed by Cloudflare.

  1. Choose the "Workers" tab in the menu

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/52500fef-63a9-45f0-8f23-45bdb38a513d/Untitled.png

  1. Press Add route

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/5f95c519-a06d-49a8-b31b-f7725a2a0970/Untitled.png

  1. Add the domain followed by /* you want the worker to be available at.

In this example we are using feedback.fish.

Our route would be: hive.feedback.fish/*

Just select the previously generated worker in the dropdown

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/cb70d432-93d3-447b-bafb-c990b575206d/Untitled.png

Last, we need to link the subdomain to a random ip. Navigate to DNS and create a new A record

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/f63145a2-8670-4b18-97cc-5f64406e8fb4/Untitled.png

<aside> ✅ Done! The new worker is available under hive.feedback.fish (not yours)

</aside>