My site is not working after the server migration (hosted in godaddy)

Discussion in 'Site & Server Administration' started by kks_krishna, Feb 24, 2009.

  1. #1
    HI,

    I got the following message from the Godaddy.com:

    After that my sit is not working and I am seeing the 500 internal server error. Please help me. It is very urgent for me.
     
    kks_krishna, Feb 24, 2009 IP
  2. JPC-NickO

    JPC-NickO Guest

    Messages:
    69
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi,

    You need to ask GoDaddy to look at the logs. The most common cause of this issue on suPHP servers is that the permissions are configured wrong.

    A 500 error will not go away after DNS propagation.
     
    JPC-NickO, Feb 24, 2009 IP
  3. diligenthost

    diligenthost Peon

    Messages:
    685
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That's correct. If you don't want to wait for support, make sure your files are chmodded to 644 and your directories to 755. This hopefully should fix the error.

    If not, check your error logs, you might be able to resolve this without GoDaddy's support ;)
     
    diligenthost, Feb 24, 2009 IP
  4. kks_krishna

    kks_krishna Active Member

    Messages:
    1,495
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    80
    #4
    HI,

    I have contacted godaddy. They are useless and not understanding the problem. Now I am getting 403 Forbidden error. How can I solve the problem myself.
     
    kks_krishna, Feb 24, 2009 IP
  5. kks_krishna

    kks_krishna Active Member

    Messages:
    1,495
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    80
    #5
    How to change the permission?

    -krishna

     
    kks_krishna, Feb 24, 2009 IP
  6. diligenthost

    diligenthost Peon

    Messages:
    685
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You should have access to error logs from the control panel they provide you with. You can easily change permissions logging into your websites documents via FTP. For a 403 forbidden error you might want to check .htaccess files also.
     
    diligenthost, Feb 24, 2009 IP
  7. kks_krishna

    kks_krishna Active Member

    Messages:
    1,495
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    80
    #7
    Thaey are not providing error logs. What could be the problem with .htaccess for 403 error? Even I am not able to see the index page itself.

     
    kks_krishna, Feb 24, 2009 IP
  8. diligenthost

    diligenthost Peon

    Messages:
    685
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I'd look for a "deny from x" in any .htaccess files (remembering that they are recurring into sub-directories). Could be a range of other things as well :)

    GoDaddy doesn't provide error logs? Ouch.
     
    diligenthost, Feb 24, 2009 IP
  9. kks_krishna

    kks_krishna Active Member

    Messages:
    1,495
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    80
    #9
    there is no problem in the .htaccess .


     
    kks_krishna, Feb 24, 2009 IP
  10. kks_krishna

    kks_krishna Active Member

    Messages:
    1,495
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    80
    #10
    Now its working..thanks. I have deleted .htaccess file and replaced it. Its working. i don't know why its problem :)
     
    kks_krishna, Feb 24, 2009 IP
  11. diligenthost

    diligenthost Peon

    Messages:
    685
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Ahh great! Ignore my reply to your PM, glad to hear it's working!
     
    diligenthost, Feb 24, 2009 IP
  12. micksss

    micksss Notable Member

    Messages:
    4,427
    Likes Received:
    268
    Best Answers:
    1
    Trophy Points:
    285
    #12
    Glad it's working again. These things happen when sites are moved around... Ix updated their PHP version last week and all of my php embedding within html stopped working. It took me a while to figure it out but I had to change the handlers in my htaccess.
     
    micksss, Feb 24, 2009 IP
  13. kks_krishna

    kks_krishna Active Member

    Messages:
    1,495
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    80
    #13
    Currently I am using PHP 4. if they upgrade to PHP 5 then will be problem for my site?

     
    kks_krishna, Feb 24, 2009 IP
  14. diligenthost

    diligenthost Peon

    Messages:
    685
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #14
    No it should still work just fine with PHP 5. What micksss was talking about was putting PHP scripts in .html files, instead of placing them in .php files. This just has to do with .htaccess and adding a handler including .html so the web server can parse it as PHP as well.
     
    diligenthost, Feb 24, 2009 IP
  15. kks_krishna

    kks_krishna Active Member

    Messages:
    1,495
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    80
    #15
    Thanks for the info.

     
    kks_krishna, Feb 24, 2009 IP