Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
ArifS
New Contributor III

How to redirect url to sharepoint site using fortiweb

I want to redirect url hub.mydomain.com to https://mydomain1.sharepoint.com/sites/headoffice. Can you please let me know if is possible to rewrite url using fortiweb rewrite feature and how.
Thanks

6 REPLIES 6
AEK
Honored Contributor

AEK
ArifS
New Contributor III

I tried this and it does not load sharepoint page. Request comes to fortiweb, but when it reach to sharepoint it gives error. 

AEK
Honored Contributor

Can you share the redirection rule and the error message?

AEK
AEK
ArifS
New Contributor III

Foriweb_url_rewrite.jpgError in browser:

"<h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.""</p>0qG1IZQAAAAB43T6Vm+RiRrZhmIxsKQXeU1lEMDNFREdFMDgxMwBFZGdl"

 

 

 

AEK
Honored Contributor

I think the good way to do so is to add a simple redirection (301) on your web server hub.mydomain.com.

AEK
AEK
emete_FTNT
Staff
Staff

Hi Arif,

Please try the rule below. This rule will redirect https://hub.mydomain.com/ to https://mydomain1.sharepoint.com/sites/headoffice (It won't redirect all sub URLs under the hub.mydomain.com host but only /. If you need to redirect all sub URLs to the same SharePoint URL, then use (.*) instead of ^/$).

URL Redirect Sharepoint.png

Labels
Top Kudoed Authors