Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Error 500 When Visiting Domains

Discussion in 'General Discussion' started by Tobias Karlsson, Jul 29, 2015.

  1. Tobias Karlsson

    Tobias Karlsson Active Member

    Joined:
    Jul 29, 2015
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Sweden
    cPanel Access Level:
    Root Administrator
    Hi

    I have added two domain to my new created WHM & Cpanel server and upload all my files and database. But when i try to visit the domains i end up whit 500 errors. I dont know way this is happen. Is it some sort of settings that i have miss?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Please review /usr/local/apache/logs/error_log and let us know the specific error message you see when the "500" internal server error message appears in your browser.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Tobias Karlsson

    Tobias Karlsson Active Member

    Joined:
    Jul 29, 2015
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Sweden
    cPanel Access Level:
    Root Administrator
    this is the error:

    [Wed Jul 29 15:27:29 2015] [alert] [client [Removed]] /home/myabdlli/public_html/.htaccess: Invalid command 'My', perhaps misspelled or defined by a module not included in the server configuration

    Dont seems like it understand .htaccess
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Please post the contents of that .htaccess file so we can verify which entries are valid. You can replace any actual domain names or IP addresses with examples instead of using real ones.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Tobias Karlsson

    Tobias Karlsson Active Member

    Joined:
    Jul 29, 2015
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Sweden
    cPanel Access Level:
    Root Administrator
    I have got it to work. So the problem is fix.
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm happy to see the issue is now resolved. Would you mind sharing the solution?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Tobias Karlsson

    Tobias Karlsson Active Member

    Joined:
    Jul 29, 2015
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Sweden
    cPanel Access Level:
    Root Administrator
    I am not sure how i fix it. I think i enable something but i dont know what.
     
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    It's likely the entry that resulted in the error message was removed from the .htaccess file. This thread is now considered resolved.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice