Polv89
By:
Polv89

ERR_NAME_NOT_RESOLVED changing domain, why????

January 10, 2015 12.5k views

Hello, i have moved my wordpress site from an hosting to DO..
I followed the tutorial https://www.digitalocean.com/community/tutorials/how-to-set-up-a-host-name-with-digitalocean as i made in past to test on others domain

But now, when i go to my site www.googlexperience.com i have this error, ERRNAMENOT_RESOLVED
My ip is 80.240.139.190
Someone can help me?
thanks

3 Answers

So, DNS wise you appear to be mostly fine now.

andreas@corrino:~$ dig googlexperience.com NS

; <<>> DiG 9.9.5-4.3ubuntu0.1-Ubuntu <<>> googlexperience.com NS
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36361
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;googlexperience.com.       IN  NS

;; ANSWER SECTION:
googlexperience.com.    1651    IN  NS  ns3.digitalocean.com.
googlexperience.com.    1651    IN  NS  ns2.digitalocean.com.
googlexperience.com.    1651    IN  NS  ns1.digitalocean.com.

;; Query time: 64 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Sun Jan 11 00:05:35 CET 2015
;; MSG SIZE  rcvd: 115

andreas@corrino:~$ dig www.googlexperience.com A

; <<>> DiG 9.9.5-4.3ubuntu0.1-Ubuntu <<>> www.googlexperience.com A
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53783
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.googlexperience.com.   IN  A

;; ANSWER SECTION:
www.googlexperience.com. 1029   IN  CNAME   googlexperience.com.
googlexperience.com.    1029    IN  A   80.240.139.190

;; Query time: 72 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Sun Jan 11 00:14:21 CET 2015
;; MSG SIZE  rcvd: 82

andreas@corrino:~$

(The reason I say mostly fine is that I'm not a big fan of CNAMEs being used that way, even it will most likely be okey.)

Can't tell for sure from my end, but my guess would be that your initial problem with DNS lookups was due to TTL/caching issues.

what about CNAMEs used that way? :)

Now i have a problem with redirection, is possible due by DNS?

if i try to go to [www.googlexperience.com/wp-admin/](www.googlexperience.com/wp-admin/) it redirects me to http://googlexperience.comwp-admin/

  • 1) Well, a CNAME covers all records not just the A records. Hence now you also have a SOA record as well as NS records for www.googlexperience.com, which is wrong unless you have delegated www.googlexperience.com as its own zone, which I doubt. Not that it is likely to actually cause any actual problems, more that it is semantically odd.

    2) Those redirects are all http, which independent from from your DNS responses. Ought to be something in your web server config and/or your wordpress config.

Is possible to be a server configuration error? Can you tell me what can i control?
thanks

Have another answer? Share your knowledge.