So, I was able to install the Laravel application on amazon ec2 and was able to ssh and upload my files properly. The problem occurs when I try to access links other than my "/" route (or the index home page). I thought that maybe my files are not loading properly, so I tried to check access to other routes with the standard Laravel database.
My routes:
Route::get('/', 'HomeController@showWelcome');
Route::get('/test', 'HomeController@testFunction');
My home controller:
public function showWelcome()
{
return 'hello';
}
public function testFunction()
{
return 'test';
}
ec2 dns: http://ec2-XX-XXX-XXX-XXX.us-west-2.compute.amazonaws.com, , , , "". , http://ec2-XX-XXX-XXX-XXX.us-west-2.compute.amazonaws.com/test, 404 NOT FOUND.
, - . , !