To let a dedicated WAF instance protect your website, the domain name of the website must be connected to the dedicated WAF instance so that the website incoming traffic can go to WAF first.
Dedicated WAF instances can protect only web applications and websites that are accessible through domain names or IP addresses.
Before using a dedicated WAF instance, complete the required configurations by following the process shown in Figure 1.
Before adding a domain name or IP address to WAF, obtain the information listed in Table 1.
Information |
Parameter |
Description |
Example |
---|---|---|---|
Parameters |
Protected Object |
|
www.example.com |
Protected Port |
The service port corresponding to the domain name of the website you want to protect.
|
80 |
|
Client Protocol |
Protocol used by a client (for example, a browser) to access the website. WAF supports HTTP and HTTPS. |
HTTP |
|
Server Protocol |
Protocol used by WAF to forward requests from the client (such as a browser). The options are HTTP and HTTPS. |
HTTP |
|
VPC |
Select the VPC that the dedicated WAF instance belongs to. |
vpc-default |
|
Server Address |
Private IP address of the website server. Log in to the ECS or ELB console and view the private IP address of the server in the instance list. NOTE:
The origin server address cannot be the same as that of the protected object. |
192.168.1.1 |
|
(Optional) Certificate |
Certificate Name |
If you set Client Protocol to HTTPS, you are required to configure a certificate on WAF and associate the certificate with the domain name. NOTICE:
Only .pem certificates can be used in WAF. If your certificate is not in PEM format, convert the certificate format by referring to How Do I Convert a Non-PEM Certificate to a PEM One? |
- |
If a domain name fails to be connected to WAF, its access status is Inaccessible. To fix this issue, see Why Is My Domain Name or IP Address Inaccessible?