Resolve a domain name
To make your website accessible through a custom domain name, attach the domain name to the Cloud Enterprise Website platform and then configure its DNS records.
Prerequisites
A domain name is registered and has completed its ICP filing.
The Cloud Enterprise Website platform uses Alibaba Cloud servers. You must submit an ICP filing through the Alibaba Cloud ICP filing system. For more information, see ICP filing procedure.
If the domain name already has an ICP filing number from Alibaba Cloud, you do not need to apply for another one.
Step 1: Bind a domain name
Associate the domain name with your website application. You can do this in one of the following two ways:
Option 1: Quick binding
When you publish your website, Wanxiaozi prompts you to bind a domain name. Enter a domain name from your account to complete the quick binding process.
Option 2: Bind in the website backend
-
Log on to the Wanxiaozi console. In the navigation pane on the left, choose Wanxiaozi AI Website Builder.
-
Find the website application you want to manage and click Application Management to access the website management backend.
-
In the left-side navigation pane, select to go to the Domain Management page.
-
Click Bind Domain, enter the full domain name you want to use, and click OK to complete the binding.
Notes
-
You can bind multiple domain names to a single website with no upper limit. To point multiple domain names to the same site, add them one by one.
-
After binding a domain name, the system automatically adds the
wwwsubdomain. For example, after bindingaliyun.com,www.aliyun.comis added automatically, allowing browsers to access your site using thewwwsubdomain. -
CDN and HTTPS are not supported for Chinese-character domains, but this does not affect normal DNS resolution or website access.
Step 2: Configure DNS resolution
Choose the appropriate resolution method based on your domain registrar and account ownership:
|
Domain registrar |
Account ownership |
Recommended option |
Description |
|
Alibaba Cloud |
Current account |
One-click resolution |
The system completes the resolution configuration automatically. This is the recommended method. |
|
Other account |
Manual resolution |
You need to switch to the account that owns the domain name or get authorization to complete the resolution. |
|
|
Other providers |
— |
Manual resolution |
You need to add the DNS record manually at your domain registrar. |
Option 1: Use one-click resolution (recommended)
For domain names in your current Alibaba Cloud account, the system automatically configures the resolution after binding. Wait 2 to 3 minutes for the record value to be generated. If the status does not update, refresh the page manually or click Retry.
-
ICP filing: Per regulations, you must complete an ICP filing for your domain name if you use a Chinese mainland node.
-
Account authorization: If you are using this feature for the first time, follow the prompts to grant the necessary permissions.
If you cannot use one-click resolution, confirm that your domain name was purchased from Alibaba Cloud. If you purchased it from another registrar, you must first transfer the domain name to Alibaba Cloud.
Option 2: Manual resolution
-
ICP filing: Per regulations, you must complete an ICP filing for your domain name if you use a Chinese mainland node.
-
DNS resolution verification: If your domain name is not registered with Alibaba Cloud or is not in your current account, you must verify ownership by configuring a TXT record.
-
In the binding status list, click Verify Now, and copy the host record and record value from the pop-up window.
The window shows the record type as TXT. Go to your domain name's DNS provider to configure the corresponding TXT record. After configuring the record, click Click to Verify.
-
Go to your domain resolution console and add the TXT record.
-
For domain names not registered with Alibaba Cloud: Add the TXT record through your domain registrar's control panel.
-
For domain names in a different Alibaba Cloud account: Switch to the correct account to perform this operation.
For an Alibaba Cloud domain name, for example: Switch to the Alibaba Cloud account that owns the domain name, then log on to the Alibaba Cloud DNS console. Go to the Public Authoritative DNS page and click DNS Settings next to the corresponding domain name.
-
-
Return to the Wanxiaozi Domain Management page and click Click to Verify. If verification fails, reconfigure the TXT record and try again.
-
-
Get the record value. After successfully adding the domain name, wait 2 to 3 minutes for a record value to be generated. Once generated, copy this value.
In the domain name list, find the Resolution Status column and click Resolve Now. In the Domain Name Resolution dialog box that appears, go to the CNAME Resolution section and click the copy icon next to the record value.
-
Configure DNS records. For an Alibaba Cloud domain name, for example, log on to the Alibaba Cloud DNS console, find the domain name, and go to its DNS Settings page. Click Add Record. You need to add the following two DNS records.
-
Record 1: Add a CNAME record for the
wwwsubdomain-
Record type:
CNAME -
Host record:
www -
Record value: Paste the record value you copied in the preceding step.
-
TTL:
10 minutes
-
-
Record 2: Add a CNAME record for the root domain
-
Record type:
CNAME -
Host record:
@(@ represents the root domain. Some DNS providers may require this field to be left blank.) -
Record value: Paste the record value you copied in the preceding step.
-
TTL:
10 minutes
-
-
Step 3: Verify the resolution
After adding DNS records, they must propagate across the internet, which takes time based on the TTL (Time to Live) value. Use one of the following methods to verify the resolution:
-
Open a terminal or command prompt and run one of the following commands:
-
Use the
pingcommand:ping www.example.com(replacewww.example.comwith your actual domain name). -
Use the
nslookupcommand:nslookup www.example.com.
-
-
Check if the returned result contains the CNAME record value you configured in Step 2.
Propagation time:
-
Alibaba Cloud DNS: Changes typically take effect within 1 to 10 minutes.
-
Other DNS providers: Propagation may take longer (up to 48 hours), depending on the domain name's TTL settings.