I was thinking if it would be possible to have a computer, which would have Apache, Mysql, PHP etc on it and host a web application while it is connected via a LAN network to, let's say, five-six other computers, which will act like clients, while the computer hosting the application would be a hosting server and a client at the same time. Can you point out any link on how to built such a network, or would it be just the same as making a LAN and then installing the required hosting components to a computer I decide to make the host. Moreover, I think it can be done with an intranet, but that is kinda expensive.
First of all its super easy, Install XAMPP (Most widely used Development Environment) , After installing XAMPP , it will automatically configure your computer to use localhost on port 80, next In your windows firewall allow port 80 or program apache to be accessed from other computers from network, and at last, find your computers ip address, there are several ways but the most convinient is to go to command (start->run->cmd) and type ipconfig, and it will show you your current ip address, use that ip address to access your webserver from other computers on the same network.
Isn't super easy?