What is each file in your accommodation used for?

A fundamental part of any web page is the an accommodation and all the content stored there. This is what will shape what our visitors will see, where we can administer and manage all content, mail, accounts, passwords ... When we enter a web server, we can see many different files . In this article we will explain what the main ones are for.
How to enter the files of a web hosting
The first thing we are going to explain is how we can enter the folders that we have hosted on a host . The process is very simple, although it may vary depending on the storage we have contracted. However, the steps are similar and we can see all the folders that there are. In many cases, it may be necessary to access this part of our website to check the operation of a plug-in, view a file, or resolve any issues that may arise.
For this we have to connect with our data in the accommodation we have contracted. There you will have to enter the control panel. The most common are cPanel and Plesk. When we are inside we have to look for the corresponding section, which is usually Files or something similar. In our case, we accessed through cPanel.
Inside we will see something similar to the image above. In this case, we have to enter the file manager . This is where all the files that make up our hosting will appear and we can see each of them.
We can also access via FTP and upload folders and files this way. There are many programs and tools that allow us to use this popular data transfer protocol on the Internet. However, the ideal is to do it directly from the hosting platform, with the tools at its disposal.
What are the main files of an accommodation
When we are in the file manager, we can see all the directories of our hosting. There may be more or less records , depending on the case. Of course, some of them are must-see and must-see.
In the main directories we can see more files. This is where all of the site's content is stored so that it can function properly. Users, passwords, installed add-ons, the control panel itself ... In short, everything that allows visitors to see the page correctly and navigate it without problem.
Public_html folder
One of the main files is that of public_html . Basically, this is what allows visitors to see the site properly. This is where all the files that make up the page are stored. It is, in short, the root directory. It is something that will always be present on any web page.
There are subdirectories such as the wp-content folder , which is where all the WordPress content will be located, with plugins installed, cache, backups, updates… It is an essential folder for the content manager that we have installed.
Public_FTP
In this case we are facing the native FTP folder of the hosting. Once we have created an account, this folder is generated automatically without us having to do anything else. It will still be on our server. This is another of the files that we can find in our web hosting.
Mail folder
Another important file is the mail file. Le email is a medium widely used by web site administrators. We may even have multiple addresses available for different sections of a portal.
This folder is where emails are stored, the users we created, and everything email related. If we enter we can see different subdirectories such as Spam, Sent, Received ...
Folder etc.
This is where the data from user and words de pass hosting services are stored . It is an important directory for a website to function properly. Mail, FTP, PHP, etc. are also stored here.
Tmp folder
The tmp folder is where temporary files are stored . They may have statistical purposes for accessing the site, for example. This is also where the cache can be stored. This temporary data can be generated by different services that we have on the web.
How to view files in hosting folders
We have explained what some of the main files from our server. But keep in mind that each of them can have other subdirectories as well. In addition, each subfolder can contain different files. Therefore, we find ourselves with a wide range of possibilities.
File display in web hosting records is very simple. The normal thing is that the structure is in layers or branches. It is often referred to as the folder tree. Basically what we do is click on the drop down menu of each main folder and it will automatically show us all the subfolders. Also, on the right side, the different files will appear.
To access a certain file, for example if we want it modify or delete it , we just need to go to its corresponding subfolder and it will appear there. It will show the file viewer in the middle part, while the subfolders and folders in the left column.
At the top in the file manager we will see different buttons such as Add file, Add folder, Download… This allows us to easily upload and download files, as well as move them from one folder to another. This may vary depending on the type of hosting we are using but the procedure is very similar.
Therefore, our web hosting has a large number of folders and files. Some of them will be essential for the proper functioning of the site and to be able to offer a service to visitors. Others, however, may or may not be present, as the case may be. We have also seen how we can easily access it from our accommodation. A quick process that we can do to configure some settings or change some files that are needed.