Improve static domains option

Allow default static.example.com setup to example.com and www.example.com