Skip to main content
AEK
SuperUser
SuperUser
May 23, 2024
Question

VS HTTP host format

  • May 23, 2024
  • 2 replies
  • 1044 views

Hi FG admins

In Virtual Server configuration with LB method set to HTTP Host, when configuring real servers, does the "HTTP host" field support regular expression or at least wildcard like *.subdomain.domain.com?

2 replies

ozkanaltas
Valued Contributor III
May 23, 2024

Hello @AEK ,

 

Unfortunately no.  FortiGate doesn't support wildcard domains in the HTTP host setting. 

 

I tried it in my lab, I have a domain named abc.com and I configured it accordingly.

 

image.png

 

I can access the web site without any problem. 

 

image.png

 

But when I change my VIP configuration with *.abc.com, the service doesn't work.

 

image.png

 

 

image.png

 

AEK
SuperUser
AEKAuthor
SuperUser
May 23, 2024

Hello Ozkan

I got the same result. Thanks for your feedback.

AEK
Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!