The best way to do this is through a .htaccess file. That will do it with only 3 or 4 lines of code. A quick google search will get you what you need.
Sean McGilvray Sent from my iPhone On Feb 23, 2009, at 4:57 PM, Robert Walker <[email protected] > wrote: > > Dan Paul wrote: >> So i have a rails app running in 2.0.2 and I would like to know if >> anyone can point me in the right direction on how to remove the www >> from the url. so if someone goes to www.mydomain.com it will forward >> them to mydomain.com. I am running nginx, and thin, not sure if I do >> it in routes, in my nginx config file...? let me know if anyone has >> any insight to this. thanks. > > AFAIK this is purely a web server/DNS configuration issue and has > nothing to do with Rails. > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

