Allow hostnames with - characters in them

Github-pages hostnames can contain - characters, so we should accept that as well.