0
How do I turn my PC into a web server
web development
3 Answers
+ 5
1 first you need an internet plan from your ISP (internet service provider) that will favor upload speed (generic home plan are all about download speed with little upload speed).
2 if you get a static ip is also good but expect to pay more.
without static IP you have to opt for Dynamic DNS that will link your changing IP to a fixed domain.
You may want to check your router compatibility with the Dynamic DNS service.
3 You have to forward the port to your server, in the router settings
4 maake sure your firewall is not blocking the forwarded port
5 run the server.
is it a good idea? Not really...
If you need an offline server,
1a install one of the many options available (lamp, nodejs, your own...).
1a Run the server on your computer
2a Send requests to the server from connected devices within the same Local network.
+ 2
it's actually not so useful as it need to be turned on 24/7 and you need to have really good internet connection
+ 1
If you are looking to use it as a test environment(ie: only accessible by yourself on your computer and maybe other devices on your network), then it is not a horrible idea.
Google apache + your OS. This is not a programming question this is a software question which would be best answered by other sources on the internet.