Greetings, i have a problem with subdomain.

I have bought a hosting service and i'm running web2py on it. It's shared 
hosting with mod_python. 
(http://www.web2py.com/books/default/chapter/29/13/deployment-recipes#Shared-hosting-with-mod_python)

Folders:
/httpdocs/
/httpdocs/<web2py files are here>
/httpdocs/applications/
/httpdocs/applications/mydomain (this works)
/httpdocs/applications/subdomain (this works only in www.mydomain.com/subdomain)

My homepage at mydomain.com works, and also my newsite at 
www.mydomain.com/subdomain works. But when i try subdomain.mydomain.com i get 
errors.

Cpanel points mydomain to /httpdocs/ folder and also subdomain to same place. 

Routes.py is configured so that domain.com points to applications/domain folder 
and subdomain.domain.com points to applications/subdomain folder.

Here is the error from logs: http://pastebin.com/KSfwBRXy

What i'm doing wrong?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to