This topic describes how to verify the availability of a Dynamic Route for CDN (DCDN) accelerated domain in the DCDN console.

Prerequisites

A domain name is added to DCDN for acceleration. For more information, see Add a domain.

Procedure

  1. Obtain the CNAME of the accelerated domain name.
    1. Log on to the DCDN console.
    2. In the left-side navigation pane, click Domain Names.
    3. On the Domain Names page, copy the CNAME of the accelerated domain name.
      Copy CNAME
      Note We recommend that you copy the CNAME of the domain name that is in the Running state.
  2. Obtain the IP address that the host accesses.
    • Windows: Launch the terminal and run the ping CNAME command.CMD command
    • MacOS: Launch the terminal and run the dig CNAME command.MAc dig CNAME
  3. Configure the local host file.
    • The path of the host file in Windows: C:\Windows\System32\drivers\etc\hosts.
    • The path of the host file in MacOS: Finder>Go>Go to the folder>/etc/hosts. (Enter the /etc/hosts path in the search bar.)
    Host file
  4. Verify that whether the accelerated domain name can be accessed as expected.

    After you configure the local host file, open your browser and enter the accelerated domain name to test the connectivity. Then, check whether the accelerated domain name is bound to the host as expected.

    Test the connectivity of the website

What to do next

You can also test other features of your origin site from your computer.