failure in name resolution

Discussion in 'Site & Server Administration' started by zenite, Apr 26, 2007.

  1. #1
    i got this error when loading my website,
    Warning: main() [function.main]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in xxx/public_html/includes/templateP1.php on line 10

    my web host support wasn't very polite and clear when explaining the situation. what they suggest was to login using their ip address (to cpanel i assume, but how to login to their ip?) and set my name server to their new name server since my domain name is not under them and they cannot do it for me.

    really new to this, could appreciate if anyone can explain step by step wat to do.
     
    zenite, Apr 26, 2007 IP
  2. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #2
    /public_html/includes/templateP1.php is trying to include/call some files from an external domain that cant be resolved at that moment. Check your code and see if that external domain exists and you can access the particular resource.
     
    agnivo007, Apr 26, 2007 IP
  3. zenite

    zenite Peon

    Messages:
    240
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hmm, no. the php files are there. its in my own public_html directory actually. but for some reason it wun load. i am thinking its the DNS problem.
     
    zenite, Apr 27, 2007 IP
  4. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Then use the relative url...not the http url.
     
    agnivo007, Apr 27, 2007 IP
  5. zenite

    zenite Peon

    Messages:
    240
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    it worked, thx. it worked with absolute urls before, didn't change any folder names or anything, wonders why it failed now.
     
    zenite, Apr 27, 2007 IP