My main website is mainsite.com. I have a domain pointer setup for seconddomain.com So if I type in seconddomain.com the URL resolves to mainsite.com and the address bar displays seconddomain.com.
I need to setup a Rewrite to a sub-folder. When a user types in seconddomain.com it needs to go to seconddomain.com/subfolder. Do you use Microsoft.AspNetCore.Rewrite in startup.cs to accomplish this? Can someone provide an example?
Thanks
Brad