This section describes how to create a domain name and connect it to WAF. After connecting a domain name, WAF works as a reverse proxy between the client and server. The real IP address of the server is hidden and only the IP address of WAF is visible to web visitors.
Login credentials have been obtained.
In the upper part of the domain name list, click Quota details to view the domain name quota.
Parameter |
Description |
Example Value |
---|---|---|
Domain Name |
A domain name to be protected, which can be a single domain name or a wildcard domain name.
|
Single domain name: www.example.com Wildcard domain name: *.example.com |
Non-standard Port |
Set this parameter only if Non-standard Port is selected.
For details about non-standard ports supported by WAF, see Web Application Firewall. |
4443 |
Server Configuration |
Address configurations of the web server, including Client Protocol, Server Protocol, Server Address, and Server Port.
|
Client Protocol: HTTPS Server Protocol: HTTP Server Address: XXX.XXX.1.1 Server Port: 80 |
Certificate Name |
If Client Protocol is HTTPS, select an existing certificate or upload a new certificate. For details about how to upload a new certificate, see Step 7. |
None |
Format |
Usage (Using OpenSSL) |
---|---|
CER/CRT |
Rename the cert.crt certificate file to cert.pem. |
PFX |
|
P7B |
|
DER |
|
The bypassed option is unavailable during proxy use.
If a proxy such as CDN is used, WAF obtains the real source IP address of a client from the HTTP Header X-Forwarded-For by default. If the proxy does not use X-Forwarded-For to identify the real source IP address of a client, click next to X-Forwarded-For in the row of Source IP Header. In the dialog box displayed, select an existing source IP header or select Custom and enter a source IP header.
You can select an existing tag key and tag value from the Tag key and Tag value drop-down lists or click View predefined tags to create a tag on the TMS console.
If you do not want to connect the domain name to WAF in this step, click Next. Then click Finish. DNS is displayed as Unconfigured. Later, you can refer to Connecting a Domain Name to finish domain connection.
For example, change the back-to-source IP address of CDN or AAD to the WAF IP address by following the instructions shown in Figure 6.
Add a subdomain name and TXT record to the DNS records of your DNS provider by following the instructions shown in Figure 6.
The high availability of our system, which is based on multi-AZ deployments to support both active-active and disaster recovery, relies on the WAF CNAME record.
The CNAME binding method of some common DNS providers is listed for your reference. If the following configuration is inconsistent with the actual configuration, rely on information provided by the DNS providers.
The preceding resolution methods are provided by third parties. This document does not control or assume responsibility for any third party content, including but not limited to its accuracy, compatibility, reliability, availability, legitimacy, appropriateness, performance, non-infringement, or status update, unless otherwise specified in this document.
You can view the DNS status and mode of the domain name in the domain list.
WAF provides various protocol types. If your website is www.example.com, WAF provides the following four access modes:
This configuration allows web visitors to access your website over HTTP only. If they access over HTTPS, they receive the 302 Found code and are redirected to http://www.example.com.
If web visitors access your website over HTTPS, WAF forwards the requests to your origin server over HTTP.