DNS

Since IP Addresses are difficult to remember, and often change weekly, it is strongly recommended to use a Dynamic DNS to access your server instead of a bare IP Address.

DuckDNS
DuckDNS is the preferred free DynamicDNS system, because it is well documented, easy to use, and free. But any other Dynamic DNS service could work. You can even host a basic website this way (though too much traffic might be in violation of your home broadband policy).

Follow the installation guide here.

ddclient

 * 1) Configuration file for ddclient generated by debconf
 * 2) /etc/ddclient.conf
 * 1) /etc/ddclient.conf

daemon=300 pid=/var/run/ddclient.pid

ssl=yes use=web, web=dynamicdns.park-your-domain.com/getip protocol=namecheap server=dynamicdns.park-your-domain.com   # don't change this

login=example.com                        # your domain here password=d5af754af8fc8b0                 # dynamic DNS password @                                        # domain or subdomain This will set an  domain. You can also set a subdomain by replacing the  with the subdomain:   for , or   for  , and set these options in the config file :

run_ipup=&quot;false&quot;
 * 1) cannot be enabled at the same time as the daemon

run_daemon=&quot;true&quot;   Ensure that the configuration is working: sudo ddclient -daemon=0 -debug -verbose -noquiet   Start the  service. sudo systemctl restart ddclient   Check whether the  service worked. If not, edit ddclient. sudo systemctl status ddclient   Enable the  service at boot: sudo systemctl enable ddclient 
 * 1) enable daemon at boot