- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Labels:
-
6.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
