Thanks. No, I want www and ww4 to use different locations, with all other subdomains using another single location. Thanks again, Chris Posted at Nginx Forum: http://forum.nginx.org/read.php?2,200694,200739#msg-200739