Until now I was looking everything about web app(Docker, MariaDB, Nodejs). Should I do the same for website? Because when I ulpload website on, for example banahosting. Will recognise the database? I am a bit lost.
Here’s what I understand: Web app is just a better name for a website. Its literally the same thing.
Usually, you would put a marketing/customer facing website which has just 4-5 static pages under the website category.
And if that same project has, say, an admin section, login, email stuff etc, its generally categorized as a web app - because it does more for the business that just giving them a web presence.
Whatever hosting you choose, you will need a web server for the project, and a db server for the DB. With docker, its all packaged as a single container. This is just another way of deploying applications.
Wordpress itself creates a DB which it uses to manage all the data and plugins etc.
There are a lot of moving parts when it comes to hosting. Probably ask a more specific question if what I wrote does not makes sense.