Craft 3 multi-site route to template (no entry)
I don’t think it has something to do with URI to template routing. It should just work once you have your sites setup correctly in Craft and in server configurations.

What you can do to test correct site setup in Craft is to request the page using the query string:

https://example.com/site1/?p=foo