Exclude domain in hostname