Overview
I recommend everyone set up their own personal website as a space on the internet to share their ideas, publicise their work and give updates about their life. The cost is very little and you don’t need to be a particularly technical person to get started.
In creating this website, I followed the LandChad guide written primarily by Luke Smith. It’s very detailed and describes the process step by step, starting from scratch all the way to having a running HTTPS website. On this page, I’m not going to repeat what’s already in the LandChad guide, but just try to point things I did differently that worked better for me. If you prefer following along with a video, you can see Luke Smith roughly following his guide (and a bit more) on YouTube here.
DNS
I bought and registered my domain name with GoDaddy. I don’t particularly recommend them over any other registrar, it’s just that it was the simplest option for me to go for and they tend to have very reasonable prices (as long as you don’t opt-in to any of their extra features garbage). The only annoying thing about GoDaddy is that they stop you from logging-in if you’re using a VPN connection.
VPS
Choosing who hosts your VPS is actually an important decision unlike choosing your DNS provider. Luke Smith is a bit of a Vultr shill (and potentially receives referral fees from them), however I did not have a very good experience with them. Your three main considerations when choosing a VPS are three Ps:
- Price: If you’re not expecting heavy traffic or high usage, then you can find VPSs for less than £20 a month.
- Privacy: You preferably want to have the servers that your VPS runs on in a country which respects privacy (i.e. not Five Eyes). A lot of VPS hosts also take payment in Bitcoin or more privacy-protecting cryptocurrencies, which is always a big plus.
- Ports: If you want to also run your own email server on your VPS, then have to allow it as part of their Terms of Service and be willing to unblock the relevant ports (specifically port 25) on your VPS.
Vultr fails mainly on the last P and are generally unwilling to unblock the email port 25 for most people. Many people have complained, but Luke Smith still continues to recommend them. Personally, I use Host1 for my VPS. They’re based in Norway and accept payment in Bitcoin. Their current cheapest VPS option is 249 Norwegian Crowns per month, which as of 2023/12/10 translates to £18.20 per month. They also were and potentailly still are the host for WikiLeaks. Be aware that their website is entirely in Norwegian (although they do provide translations) and you will be receiving emails in Norwegian.
I also chose to have my VPS run Arch Linux as opposed to Debian which is the typical recommendation, simply because I am running Arch on my personal PC and so am more familiar with it. I also found that using pacman for installing packages lead to fewer issues. Almost all VPS hosts offer to install both Debian and Arch on their VPSs.
Securing your VPS
If you follow the LandChad guide successfully, you should end up with a simple website, whose files are in /var/www/*website_name*
, being served by NGINX, open to HTTPS connections, whose TLS certificate is signed by Let’s Encrypt via Certbot. I would then recommend following this SSH Keys LandChad guide in order to stop chinese hackers constantly trying to guess your root
user password and completely disable password log-in for your VPS.
Hugo
From this point, you can choose to go old-school and write your own HTML and CSS files. Instead, I would recommend using a static-site generator Hugo. This allows your to create pages for your website using Markdown, and Hugo will handle creating the relevant HTML and CSS files. You can also very easily use a wide variety of Hugo themes, that will handle how your pages should be displayed and their formatting.
For this website, I use Luke Smith’s Hugo theme — Lugo. He has a YouTube video explaining his theme and how to use Hugo in general here. Hugo leads to the best of both worlds, where you can create good-looking, minimalist websites, which are completely static and don’t depend on bloated dynamic content.
Email Server
You can also host your own email server on your VPS. This is more than merely having your own email address domain. It means that programs running on your VPS handle both the sending and receiving of emails, and whatever email client you use connects only to your VPS. The LandChad guide on setting up an email server running Dovecot and Postfix can be found here. The instructions in the guide are quite reliant on starting off with specific default config files, which aren’t necessary the case and change with new updates. Thus you’ll probably have to do some bug-fixing even after following the guide.
LaTeX
Having LaTeX render properly on Hugo websites is actually quite easy using the KaTeX API. I found this guide by Mert Bakir very useful.
RSS
One of the great parts of using the Lugo theme is that an RSS feed is automatically created for your website, which you can see for yourself at the bottom of this page. This means that people using an RSS reader can easily subscribe and be notified when you create any new pages on your website. It’s considered old-school tech now-a-days, but if people start using RSS conscientiously, then most social media websites would become obsolete. Imagine a world where news and updates from your friends or people/projects you care about get aggregated and sent directly to you where you can view and organise everything in one program you run on your PC. No ads, no tracking, no profit-incentive.
Git
I’d recommend version controlling the relevant files for your website using Git, and hosting the files somewhere publicly accessible. For example, the files for this website are hosted on GitHub here. It allows people to easily make pull requests or issues regarding mistakes or out-of-date information. The best personal websites tend to be collaborative efforts.
High-Frequency Trading using a Hedging Desk
Install Activated Windows for Free, legally
Libre Software