Thread:Mamue/@comment-206.224.253.181-20170427165454/@comment-28251580-20170428104813

Your webserver should have modules called authentication. The easiest one is called basic authentication, but is insufficient as the credentials are transmitted in plain-text, at least(!) add TLS encryption in that case. Examples can be found in the documentation, for example in the Apache or nginx documentation.

If you want to know things about webservers and the underlying system and protection, go ask. If it's about the code of the website itself, I won't be able to answer much, as unKHEFTable, a member of my archive team, wrote that for the most part.

I won't be able to give you a step-by-step tutorial, there are too many factors involved, especially security related. Please make yourself familiar with networking, system services and security in case you don't have basic IT knowledge if you plan to set up something similar.