Hello,
I am trying to put an SP site on the main domain URL as an AAM but it is not working. It keeps giving refused to connect.
Meanwhile, it works fine on any subdomain that I put it as an AAM. Note also, that the main domain if I put any IIS app on it works fine.
So, the problem is not from the domain it self. I want to put an SP site to be accessible on Internet using domain.com (sub.domain.com) works fine.
After referring to logs, I encountered the following:
" The web application at [url] could not be found. Verify that you have typed the url correctly. If the url should be serving existing content, the system administrator may need to add a new request url mapping to the intended application. "
Several articles are suggesting changing the Target Framework or something with the permission. However, Target Framework can't be changes since we are talking about SPFX and for permissions things are working fine for subdomains or even hosting any app on the domain URL.