duanhuan1147 2015-11-03 18:49
浏览 62
已采纳

内部服务器错误 - CPanel托管

I'm very new and have never hosted a website before. I'm using cPanel and have a php website I've developed using XAMPP. I'm very confused as to how to use cPanel and how to upload my website to work as it did on XAMPP.

I uploaded all my files and folders using File Manager within the public_html folder. I selected the preview website option on the home screen and received a 500 Internal Server Error that stated:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@previewmywebsitenow.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 Server at www.previewmywebsitenow.com Port 80

I tried to look up the meaning, but I wasn't sure of how to fix my mistake. Did I upload everything the way I was supposed to? Also, if this is an error not occurred from my upload, how do I find the files or do the procedure I need to in order to fix this?

I appreciate any sort of explanation or instruction on how to continue this. I'm very new and please forgive my ignorance.

  • 写回答

1条回答 默认 最新

  • dq804806 2015-11-03 18:56
    关注

    cPanel is by the friendliest platform for hosting and is very welcoming for those who don't have huge experience in hosting. So, it won't get easier than that!

    Now about the Internal Server Error that you're getting. Are you using Joomla or WordPress? If yes, you will need to change the configuration.php or the wp-config.php file respectively to accommodate the server. You will also need to create the database (and the database's users) on the web server using the MySQL Database tool in cPanel and then by exporting your actual database from XAMPP and then importing it there (you can do the import process using phpMyAdmin, after creating the database in cPanel).

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部