500 Server Error Please Help!!!!

Discussion in 'Site & Server Administration' started by saurabhnsonar, Apr 13, 2011.

  1. #1
    I have bought the VPS it gives me 500 server error when ever I create new account on it and try to access it using the http://IP:~username.
    It does not shows index files and directories.
     
    saurabhnsonar, Apr 13, 2011 IP
  2. huangsen365

    huangsen365 Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to check the error details in the log file. Ask the VPS provider.
     
    huangsen365, Apr 13, 2011 IP
  3. vpsbd

    vpsbd Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Go check the apache error log, /usr/local/apache/logs/error_log or go one of the domain`s cpanel and check the error log from there.
     
    vpsbd, Apr 13, 2011 IP
  4. saurabhnsonar

    saurabhnsonar Greenhorn

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #4
    Yes I checked but tried configuring it it wont worked for me.
     
    saurabhnsonar, Apr 13, 2011 IP
  5. vpsbd

    vpsbd Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    What did you see in your error logs? Can you provide me with the more details?
     
    vpsbd, Apr 13, 2011 IP
  6. saurabhnsonar

    saurabhnsonar Greenhorn

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #6
    Yes, It worked only when I use the first line of .htaccess file as
    Options +Indexes
    But I need to add that line whenever I create the new account. It is not possible for me all the time to check and solve it.
     
    saurabhnsonar, Apr 13, 2011 IP
  7. vpsbd

    vpsbd Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    try recompiling apache using proper mods.
     
    vpsbd, Apr 13, 2011 IP
  8. omniscient

    omniscient Active Member

    Messages:
    256
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    61
    #8
    You should contact your VPS provider. It would be better.
     
    omniscient, Apr 13, 2011 IP
  9. saurabhnsonar

    saurabhnsonar Greenhorn

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #9
    tried contacting provider but they are also unable to find the issue.
     
    saurabhnsonar, Apr 13, 2011 IP
  10. vpsbd

    vpsbd Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    If that is the case, it could be because you do not have an index document for that URL. If it could list files / directories in that URL when using Options +Indexes, then you probably should try putting an index file in that folder and see what happens.
     
    vpsbd, Apr 13, 2011 IP
  11. saurabhnsonar

    saurabhnsonar Greenhorn

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #11
    Yes when I put index file it works but I am uable see the directory when I use http://IP:~username format to check the account.
     
    saurabhnsonar, Apr 13, 2011 IP
  12. vpsbd

    vpsbd Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    you try contacting your provider or cPanel for the issue.
     
    vpsbd, Apr 13, 2011 IP
  13. saurabhnsonar

    saurabhnsonar Greenhorn

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #13
    Okay I think this will be better if I contact cpanel directly.
     
    saurabhnsonar, Apr 13, 2011 IP
  14. vpsbd

    vpsbd Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Or last try using the following step in your WHM panel go to the check Directory '/' Options at Main >> Service Configuration >> Apache Configuration >> Global Configuration. Indexes and all options are checked.
     
    vpsbd, Apr 13, 2011 IP
  15. saurabhnsonar

    saurabhnsonar Greenhorn

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #15
    Yes!!! It simply worked for me thanks a lot!!! I can access the account using the IP.!!
     
    saurabhnsonar, Apr 13, 2011 IP
  16. vpsbd

    vpsbd Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    you are always welcome man, just PM me if you need anymore help regarding web hosting or VPS setup.
     
    vpsbd, Apr 13, 2011 IP