Install server for 2 pc

Hi

i want to install suse and use it like a server.
A developped software will be deployed on it.
Mysql, Java will be used.

I have a router and two other computer (1 one windows home and 1 chromebook) will be used.

I would like to be able from others computer to type in the browser
myserver to access the developped software.

Surely need to install a DNS?
Need to do something on the two other computer?

The simplest solution would be to add an entry in the hosts files on the client machines.

My Chromebooks run openSUSE so that’s* /etc/hosts*.
I think that on MS Windows it’s something like C:\Windows\system32\drivers\etc\hosts.