As you may have noticed in recent days, my domain registrar (HostFast) suspended cnx-software.com domain for what I believe are dubious reasons, meaning the site was inaccessible to the outside world and myself. I cannot do much about the latter and I’m held hostage to what the domain registrar’s will, but I was able to access my own website with my domain name after installing a DNS server through dnsmasq on my Ubuntu 20.04 laptop. Edit: most of the steps below are actually not needed in Ubuntu 20.04, since you could just edit /etc/hosts (step 4). I’ll just leave the instructions below in case somebody needs to install dnsmasq. Here are the steps I followed. Install dnsmasq
1 |
sudo apt install dnsmasq |
This did not work at first since systemd-resolved is already installed, so I disabled it by following instructions on askubuntu:
1 2 3 |
sudo systemctl stop systemd-resolved sudo systemctl disable systemd-resolved sudo systemctl mask systemd-resolved |
I then added name servers to /etc/dnsmasq.conf:
1 2 |
server=8.8.8.8 server=4.4.4.4 |
and cnx-software.com IP […]