Bind a domain name

更新时间:
复制 MD 格式

After you build a website using Web Hosting, you must bind a domain name to your host and configure DNS resolution. Websites deployed in the Chinese mainland also require an ICP filing to be publicly accessible.

Notes

Video tutorial

This video demonstrates how to bind a domain name. The user interface may vary slightly depending on the account you use.

Procedure

Before you begin, register a domain name and complete real-name verification. You can register a domain name through Alibaba Cloud Domain Name Service or another domain name provider.

Note

Alibaba Cloud Domain Name Service is an all-in-one platform for domain name registration, trading, monitoring, and protection. It works with Alibaba Cloud ICP filing and Alibaba Cloud DNS to provide end-to-end domain name services. For more information, see Alibaba Cloud Domain Name Service.

  1. Log on to the Cloud Web Hosting management page.
  2. Find the Cloud Web Hosting instance that you want to manage and click Manage in the Actions column.
  3. In the navigation pane on the left, choose Domain Name Management > Domain Name Binding.
  4. On the Domain binding page, click Bind domain name.

    After purchasing a Web Hosting instance, Alibaba Cloud automatically binds a temporary domain name to your host. This domain name is provided by Alibaba Cloud free of charge, comes with pre-configured DNS resolution and a completed ICP filing, and cannot be deleted.

    The page displays a list of bound domain names with the following columns: Domain name, Resolution address, Filing status, Force HTTPS, and Actions. The Bind domain name button is in the upper-right corner of the page.

  5. In the Bind Domain Name dialog box, enter your domain name, and then click Confirm.

    The dialog box contains a domain name input box with the placeholder text Enter your domain name.

  6. In the Bind Domain Name dialog box, click Confirm.

    After the binding is successful, a dialog box appears that shows the domain name status as Bound. It also indicates that you need to complete DNS resolution and an ICP filing to ensure that your website is accessible. The dialog box displays the Target for resolution, Resolution status, and Filing status.

    Note

    On the Domain binding page, if the Resolution status of a domain name is Resolution failed or incorrect. How to resolve?, see DNS resolution failed or is incorrect.

    After the domain name is bound, the page displays its resolution address. The page also shows the Filing status of the domain name (for example, if the status is No ICP filing, you can click Apply for ICP Filing), the Force HTTPS switch, and the Delete button.

Next steps

  • To enhance security and prevent data leaks or tampering during transmission, enable HTTPS encryption. For more information, see Enable HTTPS encryption.

  • After you bind the domain name, promptly configure DNS resolution to make your website accessible.

    • The recommended DNS record type depends on your host's product type. For more information, see DNS resolution types for Web Hosting.

    • Other services related to Web Hosting require CNAME resolution:

      • If your website requires the one-stop security protection from Web Application Firewall, add your website's domain name to Web Application Firewall in CNAME mode. For more information, see Add a website.

      • If you need to use CDN to accelerate your website, point the DNS record of the accelerated domain name to the CNAME domain name. For more information, see Configure a CNAME.

  • To unbind a domain name from your host, click Delete in the Actions column and then click Confirm.

FAQ

Binding failure on shared web hosting instances

Possible causes

  • The domain name is already bound to a site in another account.

  • The domain name is already bound to another site in your account.

Solutions

  • If you see the error message "The domain name has been bound to another site and cannot be bound to this site.", select an unused domain name and bind it again.

  • If you see the error message "The domain name has been bound to the xxx host. You must unbind the domain name before you can bind it to this host.", first unbind the domain name from the xxx host and then bind it to your current host.