A post was split to a new topic: How to match route when hostname is not known at compile time and simply matching by . is not possible?