To the browser the relative path is
https://mydomain.xx/mypage.aspx/somepath/anotherpath
Sorry misread question. IIS uses the path to determine the vdir responsible for handing the request. It looks like you defined the application at the site level, so only the domain was used to pick the application.
I would check your route mapping to see why the path is allowed. It’s probably related to friendly url support.