Now, we have made the entries in host file for three websites.
Now we need to create the materials for three sites.
So we will go into the /var/www/html directory and we will check whether there is some file or not.
And there is with the ls command, you will find nothing there.
Then we are going to create the directories, mkdir example1 example2 example3.
Then with cat command with > symbol example1, we are going to create an index.html
file in all the three directories, in first directory example1.
we are going to put the data.
Welcome to example1 site, in example2 directory, we are going to put the data in index.html file.
welcome to example2 site, similarly in the example3 directory, we are going to put
the data welcome to example3 site in that.
index.html file, with tree command we can verify our whole directory structure.
So that mean, later on we will configure our httpd.conf configuration file
that mean supply the data, for example1 website from this directory, for example2
.com this directory, example3.com this directory.
So for that purpose, we have to create this directory strcture.