How can I host multiple websites on a droplet using Nginx
So, I have a Django droplet and I’ve pointed a subdomain (say django.example.com) to the ip address of my droplet.
Then, I installed ghost on the same droplet and now I want to have blog.example.com load my ghost installation. I followed this tutorial but when I opened blog.example.com, instead of ghost, django showed up.
So, can you please help me with setting up multiple “server"s on subdomains on Nginx on a droplet?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×