Error: cURL error 6: Could not resolve host ubuntu

Error: Error: [] cURL error 6: Could not resolve host:  www.penguintechnology.in

Solutions:
Most likly your server is not resolving your website domain and so you will have to update the correct dns server ip in resolve.conf file

$ cat /etc/resolve.com
nameserver 8.8.8.8
nameserver 8.8.4.4

Test dns lookup
$ nslookup www.penguintechnology.in
Server: 8.8.8.8
Address: 8.8.8.8#53

Non-authoritative answer:
www.penguintechnology.in canonical name = penguintechnology.in.
Name: penguintechnology.in
Address: 103.129.99.178

Share on Google Plus

About Md. Shahzad Alam

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

0 comments:

Post a Comment