(it seems like my previous reply hasn’t been posted)
It really depends on what you’re trying to achieve. If you’re just trying to install a web server, then I’d recommend downloading XAMPP if you’re on Windows, or if you’re on Linux, you probably already have apache or nginx. To access services on those servers you’re just going to have to find out the IP address of the server, and type it out in the browser (f.e. http://192.168.0.1/my_service). Those services should be available only on the same local network the server is on, unless you do port forwarding.
You could probably buy another cheap router and connect it to the first one using an ethernet cable. Set the second router to access point mode, and disable wifi on the first router (some routers have a physical button for that). You’ll be able to connect only to the second router using wifi, but still use the first router with a physical connection.