Skip to main content
MustphaBassim
New Member
July 18, 2023
Solved

Forward traffic based on url

  • July 18, 2023
  • 1 reply
  • 2221 views

Hello Dears

I am trying to imeplemnt that , when user try to reach server the traffic would forward based on url rather than IP address as show in exmple :

 

www.FG1.com ->> 192.168.1.1

www.FG2.com ->> 192.168.1.2

 

both domains FG1 and FG2 would use the same public ip for exmple 1.1.1.1 and tcp port 443

any advise about that ?

Best answer by Babitha_M

Hi @MustphaBassim,

 

I understand that you need to route traffic based on URL instead of IP. There's a way of enabling this via virtual load balancer with HTTP host configured.
Please refer the below document:
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Setting-up-a-VIP-load-balance-with-HTTP-host-check/ta-p/198274

Regards,
Babitha M

1 reply

Babitha_M
Staff
Babitha_MAnswer
Staff
July 18, 2023

Hi @MustphaBassim,

 

I understand that you need to route traffic based on URL instead of IP. There's a way of enabling this via virtual load balancer with HTTP host configured.
Please refer the below document:
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Setting-up-a-VIP-load-balance-with-HTTP-host-check/ta-p/198274

Regards,
Babitha M