Thread is 4 yrs old, cPanel is no longer used on free hosting.typically, a 500 error indicates an issue with either your .htaccess file (located in the public directory) or the web.config file (also found in the same directory). Have you made any modifications to these files?
I recall that configuring .htaccess files to function properly on XAMPP could be quite challenging. It might be more convenient for you to consider using Homestead or executing the following alternative solution.
My bad. Can we go to chrome inspect - networks and check the response there and check your controller & router file. or do you suggest checking the laravel file logs and finding the issure there.
ThanksIf your currently (05/2023) having 500 error with you x10 free hosting account, post your own request for help here: https://community.x10hosting.com/forums/free-hosting.9/ Otherwise request help from Laravel.