Updated subdomain support. Now redirect to www for main root only.