Understanding, how to install and function Localhost
The word localhost is certainly not foreign to a web front end and back end, of course it is different from someone who is just learning web programming who might be looking for what is localhost?
Definition
Localhost is a local server that is used to develop websites on your own laptop or computer before being accessed from the domain and hosting online using an internet network connection. We don’t need an internet network to access localhost, we just type localhost in our laptop or computer browser and the localhost server can be directly accessed.
How to install localhost server
download the xampp file on the official website here then follow the installation method, after successfully installed open xampp-control and start apache and MySQL then open your browser and type localhost or 127.0.0.1 if there is no error the image will appear as below
so far we have successfully installed and activated the localhost server on our own laptop or computer and it is ready to use.
Functions of the Localhost Server
The function of the localhost server that we just installed is as a tool to create and develop the website that we will create, with this localhost server we can access MySQL and create databases and tables, create CSS, HTML, PHP or Javascript scripts for website needs. that we created, to access MySQL we can type in the browser http://localhost/phpmyadmin/ after success in phpmyadmin this is where we can create the database and tables that we need.
So a little about localhost hopefully can provide benefits.