Welcome Guest, Not a member yet? Register   Sign In
aws lightsail missconfiguration
#1
Bug 

Hi everybody!

I'm always been practiced with localhost sites to test ci4, now i have a project called www.mediestad.com, but I can't setup CI4 in AWSLighsail server.

If you go to the address you  will see the directory

www.mediestad.com/mediestad/public

send the error page.: DNS_PROBE_FINISHED_NXDOMAIN

This is my apache site definition

ubuntu@ip-172-26-10-139:~$ cat /etc/apache2/sites-available/www.mediestad.com.conf
<VirtualHost *:80>
    ServerName www.mediestad.com
    <Directory /var/www/html/mediestad/public/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Require all granted
    </Directory>
    ErrorLog /var/log/apache2/mediestad.local_error.log
    CustomLog /var/log/apache2/mediestad.local_requests.log combined
</VirtualHost>


the site is enabled

lrwxrwxrwx 1 root root  41 Jul 16 22:28 www.mediestad.com.conf -> ../sites-available/www.mediestad.com.conf

The .env file 

#--------------------------------------------------------------------
# ENVIRONMENT
#--------------------------------------------------------------------

CI_ENVIRONMENT = development

#--------------------------------------------------------------------
# APP
#--------------------------------------------------------------------

app.baseURL = 'http://www.mediestad.com'
# app.forceGlobalSecureRequests = false


--------------------------------------------------------------------------------------------------------
The file /app/Config/App.php

public $baseURL = 'http://www.mediestad.com/';

If anyone have any idea about this issue
Reply


Messages In This Thread
aws lightsail missconfiguration - by alex-cross - 07-16-2020, 04:11 PM
RE: aws lightsail missconfiguration - by tgix - 07-17-2020, 12:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB