Subdomain do not open index.php

Hello,
I added subdomain as new domain. After I installed Wordpress by clicking “Quick Install App”.
Everything seams to work fine till I open website and get message:

" Success! Your new web server is ready to use. "

ls /home/user/web/sub.domain.tld/public_html shows all the wordpress files and no index.html.

sudo systemctl restart nginx
didn’t help

sudo reboot
didn’t help.

dig sub.domain.com
show the correct IP addresses

Created a file /phpinfo.php when I try to open it:
Page Not Found

Added new subdomain same…

Any other sugestions?

System info:

NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
nginx -v
nginx version: nginx/1.23.3
nano /home/user/conf/web/sub.domain.tld/nginx.conf
server {
    listen      IP80;
    server_name sub.domain.tld www.sub.domain.tld;
    root        /home/user/web/sub.domain.tld/public_html;
    index       index.php index.html index.htm;

seams to point to the correct folder.

If You need more info about my system or settings let me know :slight_smile:

Should be ip.adress.xxx.xxx:80

Do you have more ip addresses active?

I miss typed IP:80

After 3rd try creating subdomain it worked fine.
My domain was created

domain.lt

I created new subdomain same as domain sub.domain.lt and it start to work correctly.