Before setting up a server we must know the real meaning or definition of a server. So, the Server is a program that provides the client with any kind of services. For example, a web server provides our websites, a database server provides us data. This means every server has work to do and for every different work we want them to do, we have to choose different servers.
For knowing more about servers and their working click here. To check more about dockers - click here.
Pre-requisite:
Linux Operating system Like Ubuntu, Redhat, Kali Linux.
Actually the server is already been configured and now its the time to update or make a website over this server.Server website can be accessed using the IP address of the host.
Setup website
cd /var/www/html/
👁 Image
In this directory you could save your website and it would be available over the network.
👁 Image
Start the server
systemctl start httpd
If this doesn't start the server, try this
/usr/sbin/httpd
Access the content of website
To access the content of the webserver you must know the ip address, which could be known using "ifconfig" command.And then do the further steps.