Unable to access a website using URL without www: ERR_NAME_NOT_RESOLVE

Created:

2017-01-27 20:24:01 UTC

Modified:

2017-08-16 16:13:45 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to access a website using URL without www: ERR_NAME_NOT_RESOLVE

Applicable to:

  • Plesk for Windows
  • Plesk for Linux

Symptoms

1. Unable to access website using URL without www , i.e. example.com:

ERR_NAME_NOT_RESOLVED

2. Website is accessible if URL www.example.com is used

3. A DNS record for www.example.com is as follows:

# dig www.example.com
;; QUESTION SECTION:
;www.example.com.        IN      A
;; ANSWER SECTION:
www.example.com.  599    IN      A      10.10.10.10

Cause

Incorrect DNS settings for domain www.example.com: the base name is www.example.com

Resolution

Verify that the base name is set up without www in the beginning in an A record and CNAME record for www is used for pointing to the base name:

example.com                  A             10.10.10.10
www.example.com              CNAME         example.com
Have more questions? Submit a request
Please sign in to leave a comment.