How to match route when hostname is not known at compile time and simply matching by . is not possible?

(I forgot where I originally got this code from, I know it was on this forum somewhere)

2 Likes