support more subdomains
support symfony2 test env