Forum: Ruby on Rails Why use a Subdomain?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
A111108ed3617edc35da89e84689c3c2?d=identicon&s=25 Arch Stanton (d6veteran)
on 2006-03-31 03:12
New to Ruby on Rails. I've been playing around with an application I set
up at

Basically this means that all my pages tied to the application live on
that subdomain. Is there any reason for not just installing onto your
parent domain and putting your static pages in the public dir
that ruby on rails creates?

The answer seems like a simple yes, however all the install docs I
looked at indicate a subdomain installation.


30269682335f1fb247d71969fa715b5e?d=identicon&s=25 Roberto Saccon (rsaccon)
on 2006-03-31 03:31
(Received via mailing list)
it's not rails, it's the webserver in front of it, which decides whether
where subdomains get mapped to.
If your ISP handles the webserver at your domain, then you have
stick to what you get, if you configure it yourself, then look out for
doc on how to do it propperly
429500a5a54600958c9c7ac032a37f66?d=identicon&s=25 Joe (Guest)
on 2006-03-31 03:36
I use subdomains because I can't figure out how to get Lighty to map
these two URLs to different document roots:

I've tried various combinations of conditionals in the config, to no
avail. So instead I use If anybody know how to do this,
please share :).

A111108ed3617edc35da89e84689c3c2?d=identicon&s=25 Arch Stanton (d6veteran)
on 2006-03-31 03:49
I'm using Dreamhost.

I think Joe explains why I want to stick with subdomains.
This topic is locked and can not be replied to.