Subdomains

Now also take into account subdomains...