After you add a website to your Web Application Firewall (WAF) instance, you must configure HTTP or HTTPS port numbers to allow access to the website. Then, WAF can process requests that are sent over the configured ports to protect the website.
WAF protects services that use standard ports and non-standard ports. The non-standard ports include ports specified by WAF and ports that you customize. The number of supported ports and the allowed range of non-standard ports vary based on WAF editions. For more information, see Ports that each WAF edition supports.
- A website is added to WAF.
- The HTTP or HTTPS ports that the website uses change.
- Log on to the Web Application Firewall console.
- In the top navigation bar, select the resource group to which the instance belongs and the region, Mainland China or International, in which the instance is deployed.
- In the left-side navigation pane, choose .
- On the Domain Names tab, find the domain name of your website and click Edit in the Actions column.
- In the Destination Server Port section of the Edit page, click Customize.
- Click HTTP or HTTPS based on your business requirements. Then, enter the port number that you want to
add and click Save.Note The port number that you enter must be within the allowed port range. Otherwise, the settings cannot be saved. You can click View Allowed Port Range to check whether the port number is within the allowed port range.
- Click Confirm.