Skip to content

Kavex/Self-Hosting-With-Cloudflared-on-Windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Self-Hosting-With-Cloudflared-on-Windows

This guide is for the people that would like to use self hosting services like jellyfin, navidrome, and audiobookself or any other self hosting software that runs on windows. This is a quick and easy guide.

  1. Install jellyfin, navidrome, audiobookshelf or whatever web app that supports windows.

jellyfin: https://repo.jellyfin.org/?path=/server/windows/latest-stable/amd64

navidrome: https://github.com/navidrome/navidrome/releases/

audiobookshelf: https://github.com/mikiher/audiobookshelf-windows/releases/

Copyparty: https://github.com/9001/copyparty

  1. Make an account on https://www.cloudflare.com/ and sign in
  2. On the left panel go to Domain registration and Register Domain a new domain. You can on-board an exsiting domain you already own but this will not be covered in this guide. You can Go here.
  3. Open up CMD as admin and run
winget install --id Cloudflare.cloudflared
  1. Go to cloudflare.com dash board and click on Zero Trust in the left panel and let the page load into Cloudflare One
  2. If it asks you to make a team name just put whatever you want and pick the free teir
  3. On the left panel in Cloudflare One click on Networks > Connectors
  4. Pick Cloudflared and put in a name
  5. It should give you a command to run cloudflared.exe service install qweqweq.....
  6. Open up CMD as admin and run
cd C:\Program Files (x86)\cloudflared
  1. Paste in cloudflared.exe service install command from step 8 and it should link it to your Cloudflare One (Zero Trust). When you go to Networks > Connectors it should show up now.
  2. Click on the 3 dots > Configure for your cloudflared
  3. Go to Published application routes and click on Add a published application route
  4. enter in any subdomain name you want and click your domain.
  5. under service pick http and enter localhost:PORTNUMBER

navidrome is localhost:4533

Jellyfin is localhost:8096

Audiobookshelf is localhost:13378

image

Congrats! Now you can go to the subdomain and you should see your self hosted app.