How to configure a domain name for Spotipo
Assigning a domain name to Spotipo is required for Campaigns to work.
Assign a domain name to your Spotipo Server
Acquire a domain name or create a sub domain of the existing domain name and assign it your server's IP.
Next test it out by going to http://yourdomain.name and ensure you can access spotipo.
Configure Spotipo to listen only on domain
Run the following command to force spotipo to listen only on the domain name. Remember to replace yourdomain.name with the actual domain name.
sudo echo "SERVER_NAME='yourdomain.name'" >> /usr/share/nginx/spotipo/instance/config.py
sudo supervisor restart