The SNI (Server Name Indication) configuration feature on the Load Balancer allows a single Listener to serve multiple domain names (hostnames) by mapping each domain to a specific SSL/TLS certificate. This feature helps save resources, supports multi-domain deployment, and enhances security for HTTPS services.
Step 1: Log in to the Load Balancer management page on FPT Cloud Portal
Step 2: From the Load Balancer list, select the one you want to configure.
Step 3: Select the Listener tab, then choose a Listener using the TERMINATED_HTTPS protocol, or create a new Listener if none exists.
Step 4: Add SSL/TLS certificates to the two fields:
Step 5: Click “Update Listener” or “Create Listener” to save the changes.
Step 6: Point your domain names (hostnames) to the Load Balancer's public IP and access them.
Additionally, users can use L7 policies to route requests from each domain to the desired Pool. Configure as follows:
Step 1: Upload all necessary certificates and add them to the Listener as described above. Then select the L7 policy tab.
Step 2: Create L7 policies on the Listener:
Example with 3 domains:
* example1.com needs to redirect to Pool1
* example2.com needs to redirect to Pool2
* example3.com needs to redirect to Pool3
Create 3 corresponding policies with actions pointing to 3 different Pools:
Policy1:
- Policy action: Redirect to pool
- Redirect to: Pool1
- Position: 1
Policy2:
- Policy action: Redirect to pool
- Redirect to: Pool2
- Position: 2
Policy3:
- Policy action: Redirect to pool
- Redirect to: Pool3
- Position: 3
Each policy should include 1 rule:
Policy1 - Rule:
- Type: Hostname
- Compare type: Equal to
- Value: example1.com
- Invert: No
Policy2 - Rule:
- Type: Hostname
- Compare type: Equal to
- Value: example2.com
- Invert: No
Policy3 - Rule:
- Type: Hostname
- Compare type: Equal to
- Value: example3.com
- Invert: No
Step 3: Save the changes and access the domains to verify whether the Load Balancer correctly redirects the requests.