this post was submitted on 13 Sep 2024
1419 points (99.2% liked)

Memes

45558 readers
725 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 1 month ago (9 children)

ok genuine question from someone who wants to make a website but has no experience in it other than a HTML class and doesn't want to resort to a cushy GUI based website maker, How do I make a website? I'm not talking about the HTML, I got that part down. I'm talking about how do I actually get a domain and host? I tried doing it and got like a $5 domain, but the host was like $30 for a year which was too much for me and couldn't figure out how to selfhost with my extremely limited knowledge. Is that just what it costs to have a website or is there an easier way?

[–] [email protected] 6 points 1 month ago (2 children)

Self host isn't that bad. Say you have a raspberry pi. Install linux on the pi (basically the only thing to do with it), then google how to set up a LAMP server (Linux, Apache, Mysql, Php/python). Once you've followed all the steps they list then now you have a web server. To get it out on the internet log into your router and port forward for HTTP and now anyone can see that glorious Apache default web page.

Then for a domain just find the first domain register and buy the domain from them. Once you own a domain point it towards your IP address (just google what is my IP) and you're set.

Your web page is now on the internet and anyone can type a nice name to get to your page. Anyone can also use any exploits then find so you have to make sure you're keeping up updating your devices. And every port you forward is an intrusion point into your network should someone want to hack you.

[–] [email protected] 1 points 1 month ago (1 children)

Anyone can also use any exploits then find so you have to make sure you’re keeping up updating your devices. And every port you forward is an intrusion point into your network should someone want to hack you.

This is the part that scares the shit out of me. I bought a domain with the intention of making a little web 1.0 website for fun and to learn, but I have no real idea what I'm doing and the security risk makes it a non-starter :(

[–] [email protected] 3 points 1 month ago* (last edited 1 month ago)

If you're hosting a basic web 1.0 website you're gonna be pretty safe. Just install Apache and call it a day. As long as there's no exploits in apache and you only port forward for basic HTTP theres very little to go wrong. Plus realistically, whos gonna want to hack your site?

load more comments (6 replies)