Forum: Rails deployment apache2 and subdomains

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
49b33c2b72228c81244399b449a2b554?d=identicon&s=25 gman (Guest)
on 2007-07-05 17:19
(Received via mailing list)
Hi everyone,

I've set up rails to use dynamic subdomains with the account location
plugin. And on my dev box I've been able to get the result I require
by modifying my hosts file.

127.0.0.1 user1.myapp.com
127.0.0.1 user2.myapp.com

However my question is, on the production server, if I want
user1.myapp.com and user2.myapp.com ,etc  to work , does this require
an apache2 ServerAlias?
something like ServerAlias *.myapp.com?

I'm not to familiar with the apache2 configuration.
Any help would be appreciated.

tks.
This topic is locked and can not be replied to.