This post is about how can set up hosts on local machine. Your hosts will take hostnames as:
I use an Apache2 server running on Ubunto 18.04. To enable and disable local hostings, the commands a2ensite and a2dissite are respectively used as enable and disable.
For each new local host, I use a file mal.conf which on my machine is sitting
in the folder:
/etc/apache2/sites-available
Replace the "xxx" with your site name. and this is how the mal looks like:
(c) 2021 - MrDevTools