Redirect a DNS Alias to a SharePoint Online URL
Question details
The user wants a custom DNS alias to direct visitors to a child SharePoint Online URL.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Provide a custom address that sends users to a specific SharePoint Online site or child page.
- Observed behavior
- SharePoint Online does not provide a built-in way to bind a custom DNS alias directly to a child URL or automatically reproduce an IIS redirect.
Identify the exact SharePoint Online destination URL and confirm that you can manage DNS for the custom hostname. Choose a redirect service that supports HTTPS for that hostname and can obtain or use a valid TLS certificate.
Use an External HTTPS Redirect for the SharePoint URL
Use a web redirect service or web server to forward the custom hostname to the required SharePoint Online address.
DNS maps hostnames to destinations; it does not redirect a browser to a specific URL path. The external service must receive the request and return an HTTP redirect to SharePoint Online.
In your redirect provider's dashboard or web server configuration, add the custom hostname and set the destination to the full SharePoint Online URL, including the desired site or page path.
Use the provider's HTTPS or certificate settings to provision a valid TLS certificate for the custom hostname. Confirm that the service can accept HTTPS requests before relying on the alias.
In your domain's DNS management console, add the A or CNAME record specified by the redirect provider for the custom hostname. Do not point a CNAME directly at SharePoint Online as a substitute for the redirect service.
Open the custom HTTPS address in a browser and confirm that it redirects to the intended SharePoint URL. Test in a private browsing window to check the Microsoft 365 sign-in flow and verify any required path or query-string behavior.

Build a Custom Redirect Service
Use a custom web application or server when the redirect requires routing rules that a hosted redirect provider cannot supply.
Work With SharePoint Documents in WPS Office
WPS Office is a free, lightweight alternative for editing Office documents downloaded from SharePoint. Its familiar interface and Microsoft Office format support make it easy to move between applications. It does not configure SharePoint redirects or DNS.

Frequently Asked Questions
Can a CNAME point directly to a SharePoint child page?
No. A CNAME maps one hostname to another and cannot specify a URL path. Configure an external HTTPS redirect service to send visitors to the full SharePoint page URL.
Will users still need to sign in to SharePoint?
Yes. The redirect only sends the browser to SharePoint Online; Microsoft 365 authentication and the destination's permissions still apply.
Will the custom hostname remain in the browser address bar?
With a standard HTTP redirect, the browser navigates to and displays the SharePoint Online destination URL.
Can I use the SharePoint Migration Tool to create the alias?
No. The SharePoint Migration Tool moves content to SharePoint or OneDrive; it does not configure DNS aliases or web redirects.
Will the redirect preserve paths and query strings?
That depends on the redirect service and its rules. Check the provider's redirect settings, specify the behavior you need, and test the custom URL with representative paths and query strings.




