menu

Questions & Answers

LAN based on personal windows

I'm working on a project where the solution is website with backend (django/express...etc). The client doesn't have server in the office, only personal windows computers. In addition, these computers don't have access to the internet.

I'm a freelancer who is in charge of this project and my suggestion is to host the website in one of the available computers and build a LAN where other devices can interact with the website.

So my question is, is that possible? if so, how? Can personal window device be converted to serve and receive http through a LAN? how should it be accessed?

Note: 1- I'm not an IT guy so I have no idea if this even make sense, please HELP. 2- I can't modify the computers completely where they are still the company's and should still work as regular windows devices (I'm mean I can't uninstall windows)

I still haven't started working (planning phase). I started looking into Firewalls and ports but nothing major.

Answers(1) :

Yes, it is possible to host a website on a personal Windows computer and make it accessible to other devices on the LAN. Here are the general steps you can take:

  1. Set up a web server software (such as Apache or IIS) on the Windows computer. This will allow the computer to receive and process HTTP requests.

  2. Configure the web server to serve the website files. This typically involves specifying the location of the website files on the computer's hard drive.

  3. Configure the web server to listen on a specific IP address and port. For example, the web server could listen on IP address 192.168.1.100 and port 80.

  4. Ensure that the Windows Firewall is configured to allow incoming traffic on the port that the web server is listening on.

Test the website by accessing it from a browser on another device on the LAN. Use the IP address and port that the web server is configured to listen on, for example http://192.168.1.100:80

If you are using django or express for backend, you need to run the backend on the same machine on a different port and make sure it is accessible by the frontend.