logo
search
Others

How to Redirect a Custom Domain URL to SharePoint Online

Muhammad TalhaMuhammad Talha Oct 13, 2026 868 views

Question details

Users want to know how to map or redirect a custom vanity domain URL to their SharePoint Online site.

How to Redirect a Custom Domain URL to SharePoint Online
Product
SharePoint Online
Device & OS
not provided
Scenario
Attempting to use a branded or custom domain name to make a SharePoint Online site easier to access.
Observed behavior
SharePoint Online enforces a fixed URL format and lacks native support for manually configuring custom domain redirects.
Before you start

Keep in mind that Microsoft 365 enforces a strict URL structure for SharePoint Online (e.g., yourtenant.sharepoint.com), meaning direct DNS-level custom domains mapped natively to specific sites are not currently supported.

Solution 1Recommended

Use URL Forwarding via Your Domain Registrar

Since SharePoint does not natively support custom domain integration, the best workaround is to configure URL forwarding at your DNS provider level.

URL forwarding (also known as domain redirecting) allows you to point a custom domain you own directly to your long SharePoint Online site URL. This process is handled entirely outside of the Microsoft 365 environment.

1
Log into your domain registrar

Access the DNS management console of the service where you purchased your custom domain (e.g., GoDaddy, Namecheap, Cloudflare).

2
Locate forwarding settings

Navigate to the section labeled 'Domain Forwarding', 'URL Redirects', or 'Routing Rules' within your dashboard.

3
Configure the redirect URL

Set your custom domain as the source, and paste your full SharePoint Online site URL (e.g., https://yourtenant.sharepoint.com/sites/yoursite) as the destination.

4
Select the redirect type

Choose a 301 (Permanent) or 302 (Temporary) redirect type, then save your changes. Note that DNS propagation can take up to 48 hours.

Use URL Forwarding via Your Domain Registrar
Avoid URL Masking: Do not use 'URL Masking' or 'Stealth Forwarding'. SharePoint's strict security policies prevent its sites from being embedded inside iframes, which will cause the site to display an error or fail to load entirely.
Free Microsoft Office alternative

Looking for a Lightweight Office Suite for Seamless Collaboration?

While SharePoint handles complex enterprise intranet sites, everyday document collaboration doesn't have to be complicated. WPS Office provides a free, highly compatible alternative to Microsoft Office for creating, editing, and sharing documents effortlessly.

  1. 1. Download the installer: Visit the official WPS Office website and download the free installer designed for your operating system.
  2. 2. Install the software: Run the downloaded setup file and follow the quick on-screen instructions to install the suite.
  3. 3. Start collaborating: Launch WPS Office, sign in to unlock free cloud storage features, and easily open or create your office files.
Completely free and lightweight alternative to heavy enterprise suitesFully compatible with Microsoft Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) formatsBuilt-in cloud storage for seamless multi-device document accessFamiliar tabbed user interface requires virtually no learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Does SharePoint Online support vanity URLs natively?

No, SharePoint Online does not currently support custom vanity URLs (such as intranet.yourcompany.com). All site URLs must adhere to the standard Microsoft tenant format (e.g., yourcompany.sharepoint.com).

Can I request custom domain functionality from Microsoft?

Yes, you can submit feature requests or upvote existing suggestions for custom domain support through the official Microsoft SharePoint Feedback portal.

What happens to my old links if I change my SharePoint site address?

When you successfully rename a site address within the SharePoint admin center, Microsoft automatically configures an internal redirect. Users attempting to access the old links will be seamlessly redirected to the new site URL without disruption.