this post was submitted on 13 Sep 2024
1420 points (99.1% liked)

Memes

45587 readers
1258 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
[โ€“] TriflingToad@lemmy.world 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?

[โ€“] thirteene@lemmy.world 3 points 1 month ago

First off, it's important to understand Responsive Design responsive design and why you shouldn't be writing your own css these days as a newbie. Bootstrap is a public css doc with a lot of those problems pre-solved, so you might want to look up some of their tooling.

As far as a website: you'll need a domain name, you can get some for free, but they usually have short renewals otherwise this is unavoidable.

You can pay for "shared hosting" at any of the major vendors like blue host or GoDaddy and get apache or aspx file hosting for like you said $X0/year.

You can use an s3 static website for ~free. Creating a DNS hosted zone is $.50. but you can create an s3 bucket (think flash drive in the cloud) store a threshold of free documents, and publish them as a website all within the free tier of AWS. This has some technical background and AWS can get expensive of you make mistakes (although this shouldn't scale much unless you upload a thousands ton of files repeatedly)

Alternatively you can use GitHub pages . Git is a tool used by developers to share and edit code, they let you publish free HTML as well, but requires learning git or figuring out a tool with a UI like source tree. I don't think you can use custom domains with this though.

Although if you have any interest in tech, you can also create a free nginx docker container through a lot of services like ecs, but you can also self host in a "sandbox". Docker creates a mini virtual machine with all of the code required to run self contained. Nginx let's you create HTML docker containers by mounting a directory. ~ docker start nginx /website/directory And it just runs self contained.

load more comments (8 replies)