Hi, My previous related post: https://groups.google.com/d/topic/web2py/TxACULvgxik/discussion
Following is my url path structure to access websites for multiple Organizations (ORG) http:// domain.com / app / web / site / ORG / args ? vars I can successfully access the website for DEMO ORG as: http:// domain.com / app / web / site / DEMO / args ? vars And I am using the following BASE routes dict: default_application = 'app' default_controller = 'web' default_function = 'site' So I can now use short urls: http:// domain.com / site / DEMO / args ? vars But now I require to access it via subdomain (removing 'site' function and ORG first arg, but being able to keep using args and vars): http:// DEMO.domain.com / args ? vars Internally rewriting to: http:// domain.com / app / web / site / DEMO / args ? vars Is there any way I can accomplish this with routes?. Thanks, Carlos