Discover Centmin Mod today
Register Now

Wordpress My website cant see itself

Discussion in 'Blogs & CMS usage' started by gamal, Jul 12, 2020.

  1. gamal

    gamal Member

    97
    8
    8
    Jan 31, 2018
    Ratings:
    +11
    Local Time:
    6:00 PM
    1.13.8
    hello,

    i was running wordfence on one of my websites, and it totally can't scan anything, when i run the wordfence log i have this error

    Code:
    wp_remote_post() test back to this server failed! Response was: cURL error 6: Could not resolve host: 3alamtaney.com; Unknown error
    first i thought it was something wrong with my setup, the tech support of wordfence suggested that my website isn't seeing itself causing this error, so i run this command :
    Code:
     nslookup 3alamtaney.com
    Server:         8.8.8.8
    Address:        8.8.8.8#53
    
    ** server can't find 3alamtaney.com: NXDOMAIN
    
    so how to solve this issue ??
     
  2. eva2000

    eva2000 Administrator Staff Member

    44,780
    10,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,828
    Local Time:
    6:00 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    what output do you get running these commands on Centmin Mod server with issues
    Code (Text):
    dig +short A 3alamtaney.com @8.8.8.8

    Code (Text):
    dig +short A 3alamtaney.com @1.1.1.1

    Code (Text):
    localdns=$(grep -m1 nameserver /etc/resolv.conf | awk '{print $2}')
    echo "using $localdns"
    dig +short A 3alamtaney.com @$localdns