I'm using Magento 2.4 and when I'm trying to connect to my Magento 2 domain on localhost, I get the default Nginx page.

This is the Nginx conf file in /etc/nginx/sites-available and I created a soft link of this file in the /etc/nginx/sites-enabled directory

```
upstream fastcgi_backend {
  server  unix:/run/php/php7.4-fpm.sock;
}

server {

  listen 80;
  server_name www.edu.ubuntu.com;
  set $MAGE_ROOT /var/www/project-community-edition;
  set $MAGE_MODE developer;
  include /var/www/project-community-edition/nginx.conf.sample;
}

```

I added this to /etc/hosts file

```
127.0.0.1       edu.ubuntu.com

```

This is my web/unsecure/base\_url in the core\_config\_data

```
http://edu.ubuntu.com/

```

But I'm still getting Nginx default page when I'm trying to enter <http://edu.ubuntu.com>. Could anyone help me? Any kind of help would be appreciated