If someone goes to port 80 of my droplet, I would like them to be redirected to my business website. How can I set that up?
Ubuntu 16.04.02 x64
Redirect to www.apollos-dev.com
I answered my own question.
I installed lighttpd, opened port 80 in the firewall, edited /var/www/html/index.lighttpd.html so that it contained the following:
<html> <head> <meta http-equiv="refresh" content="0; URL='http://mydomain.com'" /> </head> <body> </body> </html>
… and I’m good to go. If there is another way of doing it without using the minimal resources that lighttpd uses, please let me know.