SharePoint 2019 Alternate Access Mapping for Internet Access

Mohammed Abed 145 Reputation points
2023-05-18T07:28:15.4533333+00:00

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. sub.domain.com) and I am able to access it from anywhere.

However, when I try to put it on the main domain (domain.com) 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://{domain.com}. This may cause incorrect links to be stored or returned to users. If this is expected, add the URL http://{domain.com} as an AAM response URL.

I am sure that (domain.com) 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,221 questions
Internet Information Services
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,628 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,668 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TengFeiXie-MSFT 341 Reputation points
    2023-05-19T06:04:59.3666667+00:00

    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: https://sharepoint.stackexchange.com/a/70773.

    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