- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Redirect subdomain to multi local servers
Dear Team ...
I have 2 subdomains , 2 local servers , 1 wan ip and 1 Fortigate 100E.
I need redirect sub1.domain.com to local server 1 when visited and sub2.domain.com to server 2.
I try virtual servers option but not work although i had create configurations step by step may be the problem with https redirect.
any ideas please , thank you all.
- Labels:
-
FortiGate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear @Anas_Abu_Alrob0599 ,
Please check the article below:
https://docs.fortinet.com/document/fortigate/6.0.0/handbook/824987/http-host-based-load-balancing
Best Regards,
Vasil Dralio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for replay.
I have installed the main domain SSL certificate on FG and select it as Certificate option in dropdown menu , when retry testing redirect me from sub1.domain.com to server 1 , sub2.domain.com to server 2 not working , I had checking HTTP HOST url and it's correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I haven't tried this setup yet, but I would use the same port for all servers, that is, virtual server (443), realserver1 (now: 1662) and realserver2 (443).
Assuming you have 3 policies in place which allow the traffic from WAN to realserver(s).
Can you sniff the traffic, like in
diagnose sniffer packet wan1 'port 443' 4 # for virtual server
diagnose sniffer packet any 'host 160.168.201.20 and port 443' 4
and post the results here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friends ....
I solved the problem by updating the firmware to v7.0.2
Thank you all.
