allow short name or full url for hostname param