Overview

The SharePoint Apps Environment has been available since SharePoint 2013. The documentation available for configuring the environment is somewhat all over the place. If you want to learn how to configure SharePoint 2019 Apps environment, especially with SSL support, read on!

Example Settings

The following settings will be used for setting up the apps environment in this example:

Company Name: Uber Widgets

Portal Web App: Uber Widgets

Portal URL: https://portal.uberwidgets.com

APPS Web App: Uber Widgets Apps

APPS URL: https://uberwidgets-apps.com

Configure a domain name for your apps. The domain should not be a subdomain of the domain that hosts the SharePoint sites. For example, if your portal domain is uberwidgets.com, consider using something like uberwidgets-apps.com and NOT apps.uberwidgets.com.

Create a wildcard alias record for the new domain. The alias name should be * (asterisk). For example, *.uberwidgets-apps.com. The CNAME record should point to the SharePoint portal.

Example 1: There is a single web front end serving content for https://portal.uberwidgets.com. The DNS name portal.uberwidgets.com points to the web front end. Point the CNAME record to the fully qualified domain name (FQDN) of the web front end.

Example 2: There are 3 load balanced web front ends serving content for https://portal.uberwidgets.com. The DNS name portal.uberwidgets.com points to the load balancer. Point the CNAME record to the FQDN of the load balancer.

SSL Wildcard Certificate

If the SharePoint portal is using HTTPS/SSL, use SSL for the apps. The domain should be added in the form of a wildcard. For example: *.uberwidgets-apps.com. The issued certificate must be in PFX format.

Create Apps SSL Web Application

Server Name Indication

If the existing web application is using SSL, enable "Server Name Indication" in IIS. Otherwise only one IIS site can run on port 443.

Create Apps Web Application