We have stopped offering self hosted version. Hence this article is not usable unless you already had purchased a spotipo license. Please checkout our cloud offering instead.
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.pysudo supervisor restart