How to deploy a rails app with no domain name. (trying to create a test server) -
ok i'm trying deploy first rails project. i've asked this question , think figured out can't configure apache work using ip , have have domain name.
the reason can't use domain name yet because i'm recreating site , don't want down in between switching domain current site new rails site.
i'd rails app running on server can test out , once it's ready, switch domain name.
how can setup server run rails project without using domain name?
if want run rails project locally in development mode, run command rails s
root of project.
it possible deploy 2 apps same server, or 2 versions of same app, typically use sub-domains this, website.com , testing.website.com.
you need have seperate databases , seperate virtualhost files.
you try access apache machine it's ip address if on local network.
Comments
Post a Comment