![]() |
| How can I point the root of my site to my rails app? |
|
mmikolaj
|
I'd like to be able to have the main url such as 1234.hostmyapplications.com go directly to my site instead of typing in 1234.hostmyapplications.com/myapp
Is there a way to do it? |
||||||||||||
|
|
|||||||||||||
|
rob_hms
|
You'll want to create a symbolic link called htdocs to point to your application/public/ directory. For example, if you had an application named "myapp", you would log into your server via SSH and execute the following command:
ln -s myapp/public/ htdocs If the htdocs/ directory already exists, you'll need to remove it and all of it's content first (rm -rf htdocs/). Make sure you don't have anything in there that you don't need to keep before doing this though |
||||||||||||
|
|
|||||||||||||
| How can I point the root of my site to my rails app? |
|
||
|


