404 Not Found nginx/1.18.0 (Ubuntu)

Ahmed Essam 20 Reputation points
2024-01-06T12:56:43.12+00:00

In Azure Server Linux when i upload data to my website this error message comes up
I already install nginx but when i run my public id it is not give me welcome message but give me message
404 Not Found nginx/1.18.0 (Ubuntu).
what is the solution?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,035 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 123.6K Reputation points MVP Volunteer Moderator
    2024-01-06T13:03:18.32+00:00

    Hi @Ahmed Essam ,

    if you want to connect to an Azure VM from the internet using a public IP you need at least one Network Security Group (NSG) associated with the VM or the subnet/vNet the VM is connected to.

    Inside the NSG you need to allow inbound the port(s) you are using for nginx (should be ingres port 80 and 443 for nginx).


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.