# Your Own HopToDesk Private Network with Cloudflare Workers

**Leverage the simplicity, reliability, and global availability of Cloudflare Workers to run your own HopToDesk network.**

HopToDesk now offers an exciting new way for users to create and manage a self-hosted HopToDesk environment using Cloudflare Workers. This simple approach provides enhanced control, security, scalability, and flexibility for businesses and organizations looking to run a private HopToDesk network or offer a customized version of HopToDesk to their clients.

Self-hosting your HopToDesk network with Cloudflare Workers ensures a high level of security and global availability. Your devices will remain accessible within your private network, outside and inaccessible from the regular HopToDesk network. All peer signaling data is routed through your own Cloudflare Worker, allowing you to completely bypass HopToDesk's infrastructure.

[Setting up HopToDesk with Cloudflare Workers](https://www.hoptodesk.com/self-hosting) is a straightforward process:

1. Log in to your [Cloudflare](https://www.cloudflare.com/) account and navigate to the domain zone where you want to deploy your HopToDesk network.
    
2. Create a new Cloudflare Worker and name it "index.js."
    
3. In the "index.js" file, paste [the provided code snippet](https://www.hoptodesk.com/self-hosting#hopsignal), then **Save** your changes, and **Deploy** the worker.
    
4. You can now use the Cloudflare Worker URL as the "rendezvous" JSON value in your [api.json](https://help.hoptodesk.com/#api-override-partial-self-hostingon-premise-1671723415) file or within your [Custom Network](https://help.hoptodesk.com/#choose-network-1671724088) settings.
    

Take note that this Worker uses Durable Objects, which requires a [Cloudflare Workers Paid plan](https://developers.cloudflare.com/workers/platform/pricing/), starting at $5 per month.

This novel and user-friendly approach using Cloudflare Workers makes HopToDesk self-hosting a standout choice among other remote desktop providers.
