# Domain setup w/ RoR & Plesk

**URL:** <https://www.ruby-forum.com/t/domain-setup-w-ror-plesk/70610>\
**Category:** Rails\
**Created:** [September 30, 2006, 9:35pm UTC](https://www.ruby-forum.com/t/domain-setup-w-ror-plesk/70610 "2006-09-30T21:35:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![magic\_hat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/5daacb/32.png) [@magic\_hat](https://www.ruby-forum.com/u/magic_hat)\
**Post date:** [September 30, 2006, 9:35pm UTC](https://www.ruby-forum.com/t/domain-setup-w-ror-plesk/70610/1 "2006-09-30T21:35:03Z")

</div>

Hi all. I have Rails installed on a dedicated virtual server that’s  
running Plesk.

I’ve been told by my hosting service that removing or altering Plesk’s  
default domain root folder (httpdocs) is likely to muck things up.

So what’s my best option for setting up rails apps, given that I can’t  
create them as the domain root?

---

<div class="post-metadata">

**Author:** ![magic\_hat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/5daacb/32.png) [@magic\_hat](https://www.ruby-forum.com/u/magic_hat)\
**Post date:** [October 1, 2006, 8:15pm UTC](https://www.ruby-forum.com/t/domain-setup-w-ror-plesk/70610/2 "2006-10-01T20:15:25Z")

</div>

On 30 Sep 2006, at 20:30, magic\_hat wrote:

> Hi all. I have Rails installed on a dedicated virtual server that’s  
> running Plesk.
> 
> I’ve been told by my hosting service that removing or altering Plesk’s  
> default domain root folder (httpdocs) is likely to muck things up.
> 
> So what’s my best option for setting up rails apps, given that I can’t  
> create them as the domain root?

I generally tell capistrano to deploy in something parallel to the  
httpdocs directory, and then add in the domain vhost.conf proxy  
directives, running the rails app as normal on a high port with mongrel.

Plesk gets in the way a little, but your main problem will be getting  
subversion and ssh to play nice with capistrano on one of those god-  
awful 1&1 boxes…

Thanks,

–  
Paul R.  
Director, Vagueware Ltd  
[http://vagueware.com](http://vagueware.com)

---

<div class="post-metadata">

**Author:** ![magic\_hat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/5daacb/32.png) [@magic\_hat](https://www.ruby-forum.com/u/magic_hat)\
**Post date:** [October 2, 2006, 1:50pm UTC](https://www.ruby-forum.com/t/domain-setup-w-ror-plesk/70610/3 "2006-10-02T13:50:54Z")

</div>

Paul R. wrote:

> Plesk gets in the way a little, but your main problem will be getting  
> subversion and ssh to play nice with capistrano on one of those god-  
> awful 1&1 boxes…

Would you mind being more specific? I’m about to do this. I’m presently  
just running the app on mongrel, on a high port, for testing.

I had a hellacious time getting Apache 2.2 built and running on my 1&1  
box without breaking anything – their default installation omitted a  
few little things like g++, as well as a few libs and plenty of header  
files.

–Al Evans

---

<div class="post-metadata">

**Author:** ![magic\_hat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/5daacb/32.png) [@magic\_hat](https://www.ruby-forum.com/u/magic_hat)\
**Post date:** [October 4, 2006, 11:24am UTC](https://www.ruby-forum.com/t/domain-setup-w-ror-plesk/70610/4 "2006-10-04T11:24:02Z")

</div>

I’m not running capistrano or mongrel, but the vhost.conf redirection  
worked for me. the rails directory is actually httpdocs/railsapp, and  
it’s running great. Thanks.
