Aral Balkan

Mastodon icon RSS feed icon P2P network icon

This site now runs on Indie Web Server

In the interests of eating my own hamster food1, I just switched this site from nginx to Indie Web Server.

The only complication in the process was that I had to update the hostname of the server to match the domain name.

Otherwise, the whole process was basically as follows:

# Disable nginx.
sudo systemctl disable nginx

# Copy the web directory into a more human-sounding place
# (not necessary but I like it better, so there!)
cp -R /var/www/ ~/site

# Update the hostname to match the domain.
sudo hostnamectl set-hostname

# Install Indie Web Server.
wget -qO- | bash

# Stop nginx.
sudo systemctl stop nginx

# Launch Indie Web Server as a startup daemon.
web-server enable

I also had to update the path in my rsync-based deployment script2 since I’d changed the path of the web site files on the server.

And that was it! Within seconds, the site was up and running again on Indie Web Server.

Mmm, hamster food is yum!


PS. Watch this two-minute video to see just how easy it is to install and run Indie Web Server from scratch.

  1. What, dogs have a monopoly on the concept or something? [return]
  2. Part of my Web+ system. [return]