Deploying a custom web server | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Deploying a custom web server

How do I deploy a self-made web server for "real" use. Having learnt how to build a web server, how do I deploy it, so that it can actually get requests from other users just like Apache and NGINX?

14th Oct 2019, 1:43 AM
Dlite
Dlite - avatar
1 Answer
+ 1
I have used Apache2 before (still use it sometimes), and yes you can get requests from users, just like any other web server. To deploy a web server with Apache2 (I assume you already have it installed), you just put your files in the web directory (usually /var/www/html), you can look on youtube or google for tutorials, but yes it works exactly like a normal web server. BUT, accessing it from outside the server is a bit complicated if you're new to networking, because you have to open and redirect ports, and also keep track of your ip address whenever it changes.
14th Oct 2019, 1:56 AM
Aymane Boukrouh
Aymane Boukrouh - avatar