Report this

What is the reason for this report?

Reconfigure server to switch back from PHP to Rails

Posted on March 9, 2015

We have a complicated situation. We originally used a Rails server on Digital Ocean for our website. Then in December we switched to PHP and now we need to switch back to Rails. We’ve been working on this for more than a week.

What should we do ? Can we simply uninstall Apache and then re-configure Rails using the proper path and configuration ? The path itself seems elusive.

We also have a blog in Wordpress that runs on PHP.



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.

You can simply install the new software and uninstall the old but I would recommend creating a snapshot image of your current configuration and then rebuilding your droplet either from the Rails one-click image or from a base OS image and setting up your new environment.

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.