C
C#7d ago
paperClip

Hosting Blazor Server

I've made this little blazor server web app that I need hosting for. Its gonna be low traffic with a single form on there. I want to host it on my personal computer, and I am okay with keeping it on 24/7 while I need it on, and am okay with occasionally updating whatever I need to update whenever my IP address changes. I need to have ssl and use my custom domain I have from namecheap. How difficult is this? I know IIS exists but that is the extent of my knowlege. If its really difficult or annoying to do, what hosting options are out there, that also fit into like a 20$/month budget?
25 Replies
Angius
Angius7d ago
No need for IIS, Kestrel alone should do Locally, I recommend Cloudflare Tunnel, lets you hook up a domain too Hosting is much cheaper than $20/hour Try $5 a month
paperClip
paperClipOP7d ago
shoot wrong time span lol
Angius
Angius7d ago
That's about the average price of a small VPS
paperClip
paperClipOP7d ago
the heck is kestrel & cloudflare tunnel
Angius
Angius7d ago
Kestrel is the server your ASP app already runs on
glhays
glhays7d ago
What are your upload speeds on your ISP?
Angius
Angius7d ago
Cloudflare Tunnel is something that routes requests from the domain you have to your current IP, making sure that access is given only to a specific port and specific application
paperClip
paperClipOP7d ago
im on ethernet and get consisstent 100> mps up and down
Angius
Angius7d ago
And since it runs on your PC, it also updates any changes to your IP, so it can run 24/7 with no changes
paperClip
paperClipOP7d ago
oh sweet
Angius
Angius7d ago
Also, make sure the ISP is fine with it. Some don't allow hosting on their network unless you buy some business plan with them
paperClip
paperClipOP7d ago
alright is there any code changes that need to be made? or is everything about setting up 'Cloudflare Tunnel` and running the app
glhays
glhays7d ago
See if you can get a static IP from your ISP while your checking wether they allow on your plan.
Angius
Angius7d ago
No, no code changes You run your app on localhost:5000 or whatever, then you run the tunnel to redirect from your domain to localhost:5000
paperClip
paperClipOP7d ago
i see
glhays
glhays7d ago
Kestral is just a light weight server, IIS is a bit more complicated or lets say involved.
paperClip
paperClipOP7d ago
i think i'll use cloudflare tunnel this whole area of hosting something is sooo vast and difficult for me to comprehend ive spent hours getting nowhere wayyyy to much terminology lol
glhays
glhays7d ago
Your big concern will be in security opening up your localhost for serving a site
Angius
Angius7d ago
Not with Tunnel
paperClip
paperClipOP7d ago
how worried do i need to be about secuirty? i don't think there are any bad actors that will use my site and its only gonna be up for 3-4 months
glhays
glhays7d ago
Well according to @ZZZZZZZZZZZZZZZZZZZZZZZZZ Tunnel has you covered. There a bad actors 24/7 out there looking all the time for an opening. But if your only talking for a few months and your local network is closed to public access and this port your going to open like said port 5000 which buy the way I hope pick a little lss common one thatn that. Your good.
paperClip
paperClipOP5d ago
Thank you guys @Angius and @glhays so much! Its working and was relatively smooth sailing to get it to work!!!! ive spent so much time in the past fussing w/ this
glhays
glhays5d ago
is ready for public viewing??
paperClip
paperClipOP5d ago
can't show unfourtunately since its a local type of deal as in you will know about where i live lol
glhays
glhays5d ago
gotcha!
Want results from more Discord servers?
Add your server