Throw error when converting multisite to subdomains with "localhost"

Subdomains don't work at all when the domain is "localhost"

Fixes #1506, previously #1522