Troubleshoot an inaccessible domain name or website

Updated at:

This topic describes common causes and solutions for inaccessible domain names or websites.

Check website status

Use the Alibaba Cloud Website Diagnostic Analysis tool to run a quick check:

  1. Enter the domain name that you want to check.

  2. Review the results and use the following links to troubleshoot any issues. The following sections describe these common issues and solutions.

Domain name issues|DNS issues|Website issues|Local issues

Troubleshoot domain name issues

Use the WHOIS lookup tool to check the detailed status of your domain name.

Domain name validity

  • Symptom: The domain name has expired and its DNS records are paused.

  • Solution: Renew the domain name promptly. For more information, see Domain name renewal. DNS resolution typically resumes within 24 to 48 hours after a successful renewal.

Domain name status

  • Symptom: The domain name has an abnormal status, such as clientHold or serverHold, which prevents it from resolving correctly.

  • Solution: To restore access, unlock the domain name. For more information, see Remove a domain name lock.

Illegal or non-compliant information

Troubleshoot DNS issues

Use the Alibaba Cloud DNS console to further investigate the DNS settings of the domain name.

The console provides a self-service diagnosis feature for domain name resolution. If any issues are detected, you can follow the provided guidance to resolve them.

Alibaba Cloud as DNS provider

  • Symptom: You are not using Alibaba Cloud DNS.

  • Solution: Contact your DNS provider to troubleshoot the issue.

DNS record configuration

DNS server status

  • Method: Go to the Alibaba Cloud DNS console and check whether the status in the DNS server address column for the target domain name is Normal.

  • Symptom: The status is The system-assigned DNS address is not used, DNS information for the domain name is not found, or Detection timed out.

  • Solution: Diagnose and resolve the abnormal status.

DNS record accuracy

  • Method: Check whether the DNS resolution result correctly points to your website address.

    1. Check the format of the record type and record value:

      • A record: Must be a valid IPv4 address, such as 192.168.1.1.

      • CNAME record: Must be another valid domain name and cannot point to itself, such as example.com.

      • MX record: Must be a valid mail server domain name, such as mail.example.com.

    2. Check the host record:

      • To configure resolution for the root domain name, use the at sign (@).

      • To configure resolution for a subdomain, use the subdomain prefix, such as www or abc.

      • Ensure that there are no extra spaces or special characters.

    3. Check whether the DNS record status is enabled.

  • Symptom: The host record or record value is incorrect.

  • Solution: Go to the Alibaba Cloud DNS console and change the DNS record to the correct value. After the modification, wait for the TTL to expire (for example, 600 seconds) before testing again.

  • Symptom: The DNS record status is Paused.

  • Solution: Go to the Alibaba Cloud DNS console and enable the DNS record.

  • Symptom: The DNS resolution result is inconsistent with the configuration in the console.

  • Solution: Confirm whether you have recently modified the record or the DNS server. If you modified a record, wait for the TTL to expire (for example, 600 seconds) before testing again. If you modified the DNS server, wait 48 hours before testing again. You can also contact your local Internet Service Provider (ISP) for assistance.

DNS resolution consistency

  • Symptom: The DNS provider's resolution results are inconsistent with the results from 223.5.5.5, or no DNS records for the domain name are found on the 223.5.5.5 server.

  • Solution: If the DNS provider returns resolution results but the results from 223.5.5.5 are abnormal, the local DNS cache may not have expired. Wait for the TTL to expire and then test again.

What is the difference between the DNS provider's resolution results and the results from 223.5.5.5?

223.5.5.5 is the IP address of the public DNS service provided by Alibaba Cloud. When you troubleshoot resolution failures, you must check whether the resolution has taken effect on both the authoritative DNS server of the DNS service provider and the local DNS server of the client. The diagnosis tool cannot retrieve the local DNS information of the client. Therefore, the tool cannot simulate the DNS server that is automatically assigned to the client or the DNS server that is assigned by the ISP for testing. Public DNS provides publicly accessible DNS addresses. The diagnosis tool uses 223.5.5.5 to simulate a test of whether the local DNS server has taken effect.

Are the test results from 223.5.5.5 representative?

Yes, it is. Many clients in China use 223.5.5.5. However, the test result does not represent all users. If the test that uses 223.5.5.5 is successful but you cannot access the domain name from your computer, this indicates that users who use 223.5.5.5 as their local DNS server can access the domain name as expected. The issue is likely caused by your local environment. We recommend that you use a local DNS testing tool to further test and authenticate your local DNS server.

For information about how to verify your local DNS, see Troubleshoot local issues.

Troubleshoot website issues

ICP filing status

  • Symptom: Your website is inaccessible because it does not have an ICP filing.

  • Solution: According to MIIT requirements, domain names that resolve to servers in Chinese mainland must complete an ICP filing before you can use them for website access. If neither the entity nor the domain name has an ICP filing and your website is deployed on an Alibaba Cloud server, apply for an ICP filing through Alibaba Cloud.

If your entity or website already has an ICP filing, continue troubleshooting with the following checks.

New website not associated with an ICP filing

  • Possible cause: Your entity has a successful ICP filing with Alibaba Cloud, but you have not yet added your new website to that filing.

  • Solution: Add the new website to an existing ICP filing. For more information, see ICP filing process.

ICP filing not associated with Alibaba Cloud

  • Possible cause: The domain name has an ICP filing from another service provider. You use an Alibaba Cloud server to host the website, but the ICP filing is not associated with Alibaba Cloud.

  • Solution: Associate the ICP filing with Alibaba Cloud. For more information, see Associate an ICP filing.

Failed special inspection of ICP filing information

  • Possible causes: The website content does not match the ICP filing information, the filing information is inaccurate, or the website contains inappropriate content.

  • Solution: Alibaba Cloud inspects all successful ICP filings to comply with relevant laws and regulations. If any issues are found, correct them within the specified time. For more information, see ICP Filing Information Special Inspection Guide.

    Important

    If you do not complete the corrections within the specified time, your website may become inaccessible. Your ICP filing may also be disconnected or canceled, which will affect your website's business. Therefore, modify your ICP filing information right away.

ICP filing information from the communications administration has not been synchronized to Alibaba Cloud

  • Cause: Your ICP filing application was submitted through Alibaba Cloud and recently approved by the communications administration. However, the approval information has not been synchronized to the Alibaba Cloud ICP Filing system.

  • Solution: It takes time for information from the communications administration to synchronize with the Alibaba Cloud ICP Filing system. The exact synchronization time cannot be determined. After you receive the approval notification, wait for a while before you try to access the website again. You can access the website normally after the synchronization is complete. For more information, see Filing Rejection FAQ.

Website on the MIIT blacklist

Please visit the MIIT ICP/IP Address/Domain Name Information Filing Management System to check. You will need to contact MIIT to resolve the issue.

Website Service Issues

A website may be inaccessible for many reasons, such as network connectivity issues, a firewall port that is not open, or a service port that is not listening. For more troubleshooting ideas, see Quick troubleshooting methods for inaccessible websites on ECS instances.

Domain name redirects to another website

If your domain name redirects to another website, troubleshoot the issue from the following three aspects:

Step 1: Diagnose DNS hijacking

  1. Log on to the Domain console and check whether the DNS records are configured correctly.

  2. Run the nslookup or dig command on your local machine to check the IP address that the domain name resolves to.

  3. If the resolved IP address does not match the expected address, use a network probing tool to determine whether the issue is caused by an ISP's DNS cache that has not been refreshed or by domain name hijacking.

Step 2: Check for server file tampering

If the resolved IP address is correct, check whether the website files on the server have been tampered with:

  • Check Security Center for any security alerts related to your server.

  • Check the modification timestamps of the website files to identify any unexpected changes.

  • Cloud Web Hosting (CWH): Compare the modification timestamps of the homepage file and the configuration file to detect unauthorized modifications.

  • ECS instance: If tampering is confirmed, you can restore the data by rolling back to a clean snapshot.

Step 3: Refresh CDN cache

If you have updated the website content but visitors still see outdated content or are still being redirected:

  1. Check whether a CDN service is enabled for your domain.

  2. If CDN is in use, go to the CDN console to refresh the cached resources for the affected URLs.

Troubleshoot local issues

Download the detection tool for macOS or Windows to determine if the issue is with your local DNS.

  • In the detection tool, Local DNS resolution refers to the result of a query from your local DNS.

    During DNS resolution, your computer first sends a request to the local DNS. If the local DNS cache has expired or is empty, the local DNS then queries the root DNS, the top-level domain DNS, and our authoritative DNS in sequence.
  • In the detection tool, Authoritative DNS resolution refers to the result of a query to Alibaba Cloud DNS. This helps determine if the DNS record has taken effect on Alibaba Cloud DNS.

Local DNS resolution

Authoritative DNS resolution

Diagnosis

Solution

Query result does not match the configured DNS record.

Query result does not match the configured DNS record.

DNS record has not taken effect.

Contact Alibaba Cloud DNS technical support for assistance

Query result does not match the configured DNS record.

Query result matches the configured DNS record.

Local DNS has not updated.

Wait for the local TTL to expire, or flush the local DNS cache. Then, run the test again.

Query result matches the configured DNS record.

Query result matches the configured DNS record.

DNS record has taken effect.

—