Could not automatically find a matching server block for codamarieart.com. Set the `server_name` directive to use the Nginx installer

    server {
        listen       80;
        listen       [::]:80;
        server_name  _;
        root         /usr/share/nginx/html;

        # Load configuration files for the default server block.
        include /etc/nginx/sites-enabled/portfolio-v2.conf;     <<<<<<<<<<<<<<<<

        error_page 404 /404.html;
        location = /404.html {
        }

        error_page 500 502 503 504 /50x.html;
        location = /50x.html {
        }
    }
2 Likes

Hi @mariolisbona, presently both Ports 80 & 443, from the Internet, are filtered (i.e. blocked).

$ nmap -Pn -p80,443 codamarieart.com
Starting Nmap 7.80 ( https://nmap.org ) at 2024-04-02 16:34 UTC
Nmap scan report for codamarieart.com (54.253.108.188)
Host is up.
rDNS record for 54.253.108.188: ec2-54-253-108-188.ap-southeast-2.compute.amazonaws.com

PORT    STATE    SERVICE
80/tcp  filtered http
443/tcp filtered https

Nmap done: 1 IP address (1 host up) scanned in 3.15 seconds

And from around the world gets "Connection timed out".
HTTP - Permanent link to this check report
HTTPS - Permanent link to this check report

3 Likes

Thanks for the tips guys.

I used this guide and got it working.

4 Likes