After a domain name is added and resolved, you can access your video resources through it; however, the
Host in a video URL obtained through the API or console remains that in the original domain name. Therefore, you need to log in to the console and update the
Host information of URL in the default distribution configuration.
- Log in to the VOD Console and click Distribution and Playback > Default Distribution Configuration on the left sidebar to enter the "Default Distribution Configuration" page.
- Click Edit in the top-right corner and set the corresponding parameters:
- Primary Distribution Protocol: HTTP and HTTPS are supported.
- Default Distribution Domain Name: by default, the system-assigned
xxx.vod2.myqcloud.com is used. You can also add and resolve a custom domain name as the default distribution domain name.