I have created a category for each website so one root category for website 1 and another root category for website 2. Now website 1 is set to a domain url of https://website1.com and this is the base url. The admin panel is set to https://website1.com/admin. Now I have another store that is proxy pass and having a url of https://website2.com. Note website2 and website1 is the same code base and I just setup a multisite here. Now when checking the generated url for website2 it's returning the domain of website1.
I used a simulator for the store but it's not working. Now I want to know how to get the proper url specially for multisite feature. Would appreciate any help please