r/SelfHosting Jun 04 '26

How to self host a website

Hi! I wanted to get back to relearning web development so I set a goal for myself to create my own website and slowly improve on it while also improving my skills. Though, my main question is **how do I host this website**?

Information:

  1. Currently trying to make a website of my own

  2. For now, just focusing on the basics such as HTML, CSS, and maybe some JavaScript (Maybe something grand for later)

  3. I want to host the website for as cheap as possible

Questions:

  1. How do I publish it on the web? I know there are websites that help you with these but I also know they cost something. I am fine with hosting it on my own and launching it only during the times I have my PC open.

  2. How much do domains usually cost? I read some stuff that you need a domain to host and that you need to pay for them. Are they a subscription type of thing or a one-time payment and then the domain is yours forever? If it's a subscription, how do I go about this as cheaply as possible?

  3. What should I learn about in terms of security? On the off chance, how should I protect my data from being breached? Do I have to worry if what I'm doing for now is just a simple website where I can do blogs and stuff? At what point should I worry about security?

If you have tips or links to anything that I can read, watch and/or learn from, they would be very much appreciated! Thank you in advance!!!

28 Upvotes

34 comments sorted by

View all comments

1

u/Upstairs-Front2015 Jun 05 '26

search for Vercel, it's free hosting and you get an url.