Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Accepted Answer
Do this:
Remove the IP from your nginx vhosts (159.65.238.194). Leave the subdomain there. Restart Nginx
Stop the rails service: systemctl stop rails.service
Start rails from your new app’s folder like this:
cd /home/rails/vault
rails server
127.0.1.1 vault2.ifrog.com vault
This comment has been deleted
Are both your vhosts configured to use the server’s IP address? If so, Nginx will route all visits to the first vhost in its configuration (sites-available/rails). You’ll need to define actual domain names in both vosts sites-available/rails for both vhosts. It doesn’t have to be a registered domain name, it can be one you define in in your local PC in /etc/hosts for example.
Or comment out the “example” app and then Nginx will default to your own app from then on.