Codeigniter Website Showing Blank Page in AWS Elastic Beanstalk |
(05-16-2017, 06:32 PM)RedRepublic01 Wrote:(05-16-2017, 08:10 AM)spjonez Wrote: Pull the logs from the EB control panel and see what it's doing. You may want to turn on show errors in your software config in EB. Or you can SSH into the box and run this: That's the internal network name on AWS not your base url. If you're using a different domain in local and production set it to this: Code: $config['base_url'] = 'http' . (((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')) ? 's' : '') . '://' . $_SERVER['SERVER_NAME'] . '/'; The logs in AWS will tell you what's happening if you haven't setup eb-cli to SSH into it yet. If you're trying to access the site under HTTPS you need to update your Elastic Load Balancer with port 443 it's not on by default. If you can post your error/access logs them I can take a look for you. |
Welcome Guest, Not a member yet? Register Sign In |