You need to bind custom domain names in the Function Compute console.
Log on to the Function Compute console.
Click cname management on the right side of the homepage of the console.
Bind custom domain names and set routing rules. For more information about routing rules, see Bind custom domains.
If you would like to access by HTTPS protocol, you need to upload certificate and private key:
What to do next: Test functions.