So you want your own website. Here's the easiest way.
Learn HTML
While this might seem like saying "Just learn how to cook", html is not difficult at all, and provides many advantages over the more popular Content Management Systems such as Wordpress.
The biggest one being extensibility, and ease of restoring and testing your website.
Let's assume you already have a fully working HTML website
- Find a good hosting. Currently I am using active24, as the prices are incredibly cheap.
- In my country, which is Slovakia, active24 offers a Start plan with a price of 0.79€/month for a webserver with 1GB space. This is more than enough for me, so I've chosen this one.
- Alongside the hosting plan you should also buy a domain. I went with tsugu.space, as it cost me only 4€/year.
- Once paid, I recieved an access to their customer website, as well as ftp credentials. I will show you how to use these later as well.
- Now I've panicked a little, as my doman did not appear to work. This was caused due to the central registry not recognizing my domain. You will have to wait for an email asking you to confirm your email address to arrive. Once confirmed, it will take a few hours for your domain to become active.
- So we have a working domain, and a working website. What now? Let's import the site you've made. For this tutorial I will assume you are using GNU/Linux.
sftp -P 10222 [username-recieved-in-the-email]@[ip-of-your-server]
(The ip can be found in the customer website under the section servers) - Press enter, and type in the password you've also recieved in the email.
- cd into the www directory of the server. This is the place that will be used for reading the website files.
- Type in
put /home/sussy/Desktop/website/index.html
- And
put -r /home/sussy/Desktop/website/images/
in case you want to upload an entire folder. You can also do this graphically by logging into https://webftp.active24.com/?# and just dragging the files over, but I find this .
And that's it. But there's one more important matter. What if you want HTTPS on your website? In such case, all you have to do is send a request where you ask for a free certificate by Let's Encrypt. It should look something like this:
Hello, I would like to request a free SSL/TLS certificate by let's encrypt.
Common Name: your.domain
Organisation: AnythingYouWant
Locality: Your city
Country: SK
State: Slovakia
You should be able to get HTTPS for your website from the WebUI as well, but I wasn't able to do it.
And there you have it. An extremely easy, and cheap tutorial on hosting your own website, without having to own an expensive VPS.