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

sort incoming FQDN

I have a FG100E with two active, different WAN ports. On one should come several requests from the Internet: - [link]https://cert.xxx.de[/link] - [link]https://md.xxx.de[/link] - [link]https://abc.xxx.de[/link] All logically have port 443. Question: Is there a way to send the request to the right server when the FQDN arrives?

2 REPLIES 2
rwpatterson
Valued Contributor III

Welcome to the forums.

 

That is beyond the capabilities of the Fortigate units. You would best achieve this on the web servers themselves. You could set up Apache (if that is what you are using) to move incoming traffic to the correct server based on the incoming destination. For example:

 

# Directory directives for other directories

# cert.xxxx.de
<VirtualHost *:443>
    ServerName    Server.fqdn.com
    ServerAlias    cert.xxxx.de
    redirect /    http://real_cert.xxxx.server.fqdn.de:443/
</VirtualHost>

# md.xxxx.de
<VirtualHost *:443>
    ServerName    Server.fqdn.com
    ServerAlias    md.xxxx.de
    redirect /    http://real_md.xxxx.server.fqdn.de:443/
</VirtualHost>

# abc.xxxx.de
<VirtualHost *:443>
    ServerName    Server.fqdn.com
    ServerAlias    abc.xxxx.de
    redirect /    http://real_abc.xxxx.server.fqdn.de:443/
</VirtualHost>

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
ede_pfau
Esteemed Contributor III

This is a 100% typical request for the FortiADC (application delivery controller). It will route according to host or URI to different physical servers. From experience, runs very smooth and stable, and is not expensive.


Ede

"Kernel panic: Aiee, killing interrupt handler!"
Ede"Kernel panic: Aiee, killing interrupt handler!"
Labels
Top Kudoed Authors