Results 1 to 1 of 1
Hi,
I'm having trouble figuring out how to point domains to folders in a shared hosting environment. Specifically, I've got an account where I have a couple of rails apps. ...
- 01-11-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 1
Symlinks and domain names
Hi,
I'm having trouble figuring out how to point domains to folders in a shared hosting environment. Specifically, I've got an account where I have a couple of rails apps. Invariably, after having changed my name servers, I can't decide where and how to make the symlink on my account that will properly point to my new domain's folder (please excuse me if I'm getting the concepts at all garbled).
So, as an example, I received the following reply from one of the support people after I had tried setting up a new app:
"The domain example.com was pointing to /home/example/example.com, but for the application to load correctly, the document root needs to be /home/example/example.com/public."
I believe I had done the following:
cd ~/railsapp/public
ln -s /home/example/example.com/public example.com
What was my mistake here? Or let me know if I'm not providing enough info. Best would be a tutorial on this topic so I can learn about the subject more broadly, but I can't seem to google up anything that's relevant.
All help appreciated.
Thanks,
Peter


Reply With Quote