smarter domain support for non-www sites