Ghost, Nginx & subdomains
I took an existing Ubuntu 13.10 droplet and installed all necessary software to get Ghost running on my root domain (highgravityconsulting.com). Works like a champ. Awesome, now I want to move a few other apps (fever, thinkup, sqlbuddy) to their own subdomains. I've configured these services before so no big deal. I create their own directories, move the files in, load up the databases in mysql, create a new sites-available, link to sites-enabled, restart everything and... Now sqlbuddy, despite being on sqlbuddy.highgravityconsulting.com, is now showing up at highgravityconsulting.com. If I remove the link for sqlbuddy in sites-enabled, restart Nginx, it goes back to working just fine with Ghost. Here is my site-available for highgravityconsulting.com. It is exactly what is in the setup guide, except for needed changes for my domain. http://pastebin.com/MgKAMHFt Here is my sites-available for sqlbuddy on sqlbuddy.highgravityconsultingcom, which is the default nginx file with some tweaks (I removed the boilerplate stuff that's commented out, but you get the idea). http://pastebin.com/GFJBKjQM If anyone has any suggestions, I would love to hear them. My assumption is that this has something to do with ports and nginx pointing to node.js for Ghost, but I might be way off base with that.