I am stuck and having hard time solving the issue. If someone can help that would be really great!
My scenario:
I have one simple public web site (https://www.contoso.com/) hosted in IIS in Server A (no SharePoint) and I have another public SharePoint site http://192.168.1.5/ in Server B (no domain) both are working fine if open through their respective address.
But what we need is if we open https://www.contoso.com/sharepoint then it'll pull the content from http://192.168.1.5/ SharePoint site.
I some how managed it by configuring URL Rewrite in Server A, so when I am browsing https://www.contoso.com/sharepoint, it is able to show SharePoint site, but also it has too many 404 errors because SharePoint internally calling many JavaScript, CSS files from root (/) so the end URL becoming https://www.contoso.com/_layouts/15/.... or https://www.contoso.com/somefiles, so due to this it is throwing 404.
Is there anyway to configure this at all?