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?
Memes
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
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.
It depends on how fancy of a website you are trying to make. But check out something like Hugo or Jekyll. I haven’t used Jekyll personally but have used Hugo. There are plenty of templates to get you started depending the type of content you are planning on putting up.
And the best part is you can host the site for free on GitHub or Gitlab, so the domain name is the only cost.
First off, it's important to understand 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.
Now think, patents are similar things but for with more money. And imagine if someone else had similar idea and made slightly similar website you go sue them coz you had the idea first.
I gave up on factamatic.org, my note taking app many many years ago, basically what obsidian is now. I suffer from a lack of execution.
Truer words never spoken
Just buy it for ten years. You're ultimately saving money and it'll give you more time to incubate your dream!
github allows a free website through their domain
On one hand I have my personal firstname-lastname-dot-com I'm still hosting for years. I'm not a webdev but WordPress is awfully bloated and everything else needs a touch of webdev skills.
So it's been at "coming soon I'm working on it welcome to sample example theme page" for years, but hey it's indexing well based on age alone!
The other is a fun clever one I route through cloudflare to access all my home server stuff via HTTPS over TailScale. Never have to expose any ports to the big scary world wide web. :p
i did recently go through and turn off auto renewal on a few. I still have several projects i never launched though that I'm holding out hope for... someday
automatic renewal but now I'm questioning it...
I'm definitely getting my blog going regularly again... next year...