SharePoint 2019 Alternate Access Mapping for Internet Access

Mohammed Abed 145 Reputation points

I have a SharePoint site that I want to put it on an AAM for Internet access. Things works fine when I put it on a subdomain URL (e.g. and I am able to access it from anywhere.

However, when I try to put it on the main domain ( it doesn't work. When I try to access it trough Chrome, I get ERR_CONNECTION_REFUSED

Also, I am seeing this warning with regard to AAM in Logs:

Alternate access mappings have not been configured. Users or services are accessing the site http://{computername}:24963 with the URL http://{}. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://{} as an AAM response URL.

I am sure that ( is added as an AAM. Also, I don't think this is a problem from the domain as we are able to host any regular application on the domain through IIS, but when it comes to SP site things are weird here.

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,292 questions
Internet Information Services
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,212 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,790 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TengFeiXie-MSFT 341 Reputation points

    Hi @Mohammed Abed

    If you have correctly added the URL to AAM. Although you add AAM entry, you must also add IIS binding for the web application for initial redirect to the IIS site.
    User's image

    Details refer to:

    Best Regard,

    TengFei Xie

    If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments