According to the book, in routes.py, you can include:

routers = dict(
  BASE  = dict(
      domains = {
          'domain1.com' : 'app1',
          'domain2.com' : 'app2',
      }
  ),
)


Note, if you are using the parameter-based system (as above), you cannot 
also use the pattern-based system.

Anthony

On Sunday, January 15, 2012 1:34:00 PM UTC-5, Web2Py Freak wrote:
>
> i am using routes.py to clean my urls now i want to route every domain 
> to its website , how can i do that exactly ?

Reply via email to