Help Center/ Cloud Application Engine/ FAQs/ System Configuration FAQs/ How Do I Test the Domain Name Resolution?
Updated on 2024-05-25 GMT+08:00

How Do I Test the Domain Name Resolution?

Verifying the Binding of a Public Access IP Address

After a domain name is added as shown in Figure 1 Domain name configuration, run the ping command to check whether the domain name is bound to a public IP address.

Figure 1 Configuring a domain name
  1. Open the command line interface (CLI).
  2. Run the ping domain name command, for example, ping cae-demo.com.
  3. Press Enter. The ping is successful, and the domain name has been bound to IP address 100.*.*.65.
  4. Log in to the CAE console and choose Component Configurations > Access Mode. The public IP address of the component is shown in Figure 2. If the IP address in 3 ping result matches the public IP address, the domain name is effective.

    Figure 2 Public access IP address

Verifying the Binding of a VPC Access IP Address

After the domain name configuration is added as shown in Figure 1 Domain name configuration, access the ECS in the same VPC as the CAE environment to check whether the domain name is bound to the VPC access IP address.

Figure 3 Configuring a domain name
  1. Log in to the ECS console and choose Elastic Cloud Server.
  2. In the ECS list, select an ECS connected to the same VPC.

    Figure 4 Selecting an ECS in the same VPC (example: vpc-demotest2)

  3. Ping the private domain name (test18.com) from ECS to check whether the network is normal. For details about how to use Xshell, see Figure 5.

    Figure 5 Pinging a private domain name

  4. Run the wget command on the ECS to access the intranet domain name (test18.com) to check whether the component is running properly. For details about how to use Xshell, see Figure 6.

    Figure 6 Accessing a private domain name