I bought a years subscription at bluevm.com (found some coupon code, it was only about $15 for a whole year) to launch my first Rails Production server. I'm running Nginx with Unicorn and MySQL on Ubuntu 13.04. Once I got the initial server configuration setup the server will run when I run rails unicorn and point it to my config file and run it as a daemon process, but randomly when I go visit it the URL (I'm using cloudfare for DNS) I get a CentOS apache test page? This lead me to believe that it was something wrong with the VPS (since CentOS is what their using to host the VPS?), I can't find anything in production or nginx logs that would indicate a problem when I see this test page. Their support says the problem is on my end though?
Not sure where to go from here. Can't tell if it's just the cheap hosting that's causing my problem or what?
Server stats: 512MB ram 512MB swap 2GB/25GB hdd used 1TB bandwidth
The only thing I can think of is that I'm getting some sort of DDOS attack or something that's crashing the server?
I tried to setup ufw but don't know if it's actually working (wanted to block traffic on everything but 80 and 4321, which is the port ssh is running on)
When I notice that the server is showing the CentOS apache test page instead of the rails app, I get "connection refused" when I try to ssh into the VPS as well
I tried to find a concise guide on setting up a VPS for Rails 4 but can't find a complete comprehensive guide, AND I'm not sure if the problem DOES lie with me or the VPS
Any input would be greatly appreciated!