Contents
ARR uses URL Rewrite to create a redirect to http://www.fabrikam.com/sites/site1, and then returns the HTTP redirect (for example, 301 or 302) to the client Client receives the redirect, and then makes a new request by using the new URL: http://www.fabrikam.com/sites/site1. SharePoint receives the request, and processes it as usual.
How to change the domain name for SharePoint?
To use the domain name fabrikam.sharepoint.com, you would need to purchase a new Microsoft 365 subscription and move all email, files, and any other data you want to keep to the new subscription.
How is supportability of rewrites and redirects affected?
This article discusses how supportability is affected if you configure URL rewrite and redirect scenarios in Microsoft SharePoint Server by using any URL manipulation tool, such as Internet Information Services (IIS) URL Rewrite.
Is there support for URL manipulation in SharePoint?
However, when you evaluate the supportability for any URL manipulation tool that you use together with SharePoint, you should consider that Microsoft has not thoroughly tested all possible implementation scenarios that use such tools.
Luckily IIS7 provides with a great alternative that allows us to achieve similar results without a single line of code! URL Rewrite is one of IIS7 extensions provided by Microsoft that allows you to configure URL rewriting and redirection on sites hosted on IIS. It is a free extension and can be downloaded from the IIS website.
When to use 301 instead of 302 in SharePoint?
SharePoint redirects revisited: using 301 instead of 302 (without code!) Nearly a year ago I wrote an article about why you should be using permanent redirects (301) instead of temporary redirects (302) which are SharePoint defaults. Back then I presented a custom HTTP Module as a possible solution.
Since there is no path the rule for this URL is very easy: Which basically means empty URL. The Redirect URL should be set to: And the whole rule should look like this: As you can see we now get a permanent redirect from the root URL to the Welcome Page. This is probably the most frequently used notation for site URLs.