Using subdomains as account keys in Rails

software development

#1

Hi, I’m trying to set my Rails app to use a subdomain as an account key as explained in this article: http://wiki.rubyonrails.com/rails/pages/HowToUseSubdomainsAsAccountKeys

So these aren’t “real” subdomains, rails just uses it to query the database and find the right account. Whenever I try to hit one of these subdomains I get the standard browser error for page cannot be found.

Anyone have any ideas?