Allow for root-level domains like localhost