What is the root folder: I explain simply and accessible

What is the root folder

Friends, hello! Today I will tell you what is the root folder and how to find it. Surely, many of you asked at least once the question: "Keep the root?"

For example, I asked such a question literally yesterday when printing photos in the studio. By the way, this question is asked in any copier when you want to scan something and save on the USB flash drive.

If this question is introduced into a stupor, then read further information and will be aware of this concept.

Read more about root folder

Root folder or root directory is a place where all system files are stored. It exists on the computer, on the flash drive, on the phone, as well as on the site.

Root folder, if we speak with simple words, is the root of the disk, from where they grow up (no, not legs 🙂) all other folders. It is because it is called. By the way, it is she who is the main link of any technique where there is a memory.

What is the root folder in the computer

The root folder is in each computer. Their number depends on the number of disks. For example, in each PC or laptop there are 2 at least root folders: on disk with and on D. D.

Basically, users save files to a C. CD itself and is directly rooted folder, from which others grow in the future.

What is a korea folder

What is the root folder on the flash drive (memory card)

The root folder has the same principle of operation on all devices. So, when you insert a memory card into your computer to save some information there, you download it in the root folder of the flash drive folder. Already then, when you need to sort files on a memory card, you may create some additional folders that will be branched from the main "root" of the flash drive.

The ideal example on which the phenomenon of the root folder immediately becomes clear is a tree. Any tree has the roots from which it grows: with numerous branches, leaves, etc. As a tree, we have a computer, as roots - root directory, as branches and leaves - folders with files.

What is the root folder in the phone

This place in which the operating system is located, all files are saved, including music, photos, video, programs. In phones, androids where there is no possibility to insert an additional memory card, all files are saved to the root folder.

What is the root folder site

For those who earn or want to make money on sites or blogs, information is useful that the web resources also have a root. The root of the Web site is a place where all the necessary files that are downloaded on the server are stored.

Each hosting has its own web resource root, which can be accessible by using a file manager.

Articles in the topic:

How to use FileZilla: Detailed Overview of FTP Client

You can ask: "And why do I need to know information about the root of the site at all?" The answer is simple: if you suddenly start your blog and want to receive passive income from it, for example, by advertising, you will need to download a promotional file into the root folder of the site. And how can you do it if you don't know anything about the root, right?

Also, any blogger or web master needs to know this information, because to make changes to any file on the resource, you need to go to the root of the site.

Where is the root folder?

What it is - the root folder, we found out. Now it is necessary to figure out how to find it and why it is necessary. Where can I search for the root directory?

This can be done in:

  • computer;
  • telephone;
  • memory card;
  • Website / blog.

On Flashke

You can not even imagine how easy it is to look for a root on a flash drive. By connecting the memory card to the computer and opening it, you immediately fall into the root folder of the flash drive folder. If you do not create additional personal folders on the flash drive, everything that is loaded on the USB flash drive is loaded into the root folder. Like this. Everything is extremely simple.

On the phone

How to search for an root folder in the phone? The phone on android can open you access to the root folder using 2 ways:

  • using the file manager when connecting the phone to the computer;
  • Using the Total Commander program.

The first way is the easiest. By connecting the phone to a computer using a USB wire, you will see a file manager on the screen that will offer to open a folder to view files. The folder you will open and will be the same root that contains many useful system files and the SD Mini folder (memory card).

It is strictly recommended to delete anything from the root folder of the phone. The system files contained in it provide properly operation of the phone, and their removal can trigger the breakdown.

The second method is also quite simple. If you have a phone on Android, download the Total Commander program from Play Market. By installing it on the phone, open the application. You will see many folders with different names, among them there will be a folder "File System". That's what you need. The application makes a useful role of sorter files, remove them. With it, you can normalize the operation of the phone and clean it.

Online

It is much more difficult to find the root directory of the site. As a rule, with the need to find the site's root faced for the first time when they want to download something to their own resource and we offer to download the file to the root folder to confirm the right publication.

You can use the FTP to connect and log in to the root of the directory. We, for example, are working either through Filezilla, or through Total Commander. You can also use the Hosting Control Panel.

Most often, the web resource directory is in folders with the following names "Htdocs", "WWW", "Domains". Depending on the hosting name you choose the name of the folders may differ. If you yourself can not find the root of the site, you can write to the Hoster Support Service.

File Manager To open the root folder of the site looks like this:

Root directory site

Entering the folder "WWW", I will open here such folders WP-Admin, WP-CONTENT, can be robots.txt ,.htaccess.

Root Directory Site

If you work on the WordPress platform, then in the root directory you will find the same files.

On the computer

How to find the root on the computer? Here everything is extremely simple. We all know about the presence in the computer disks C and D. Each disk is this root folder. That is, the disk with the root folder has the name of the same name. It is usually another folders with the name of documents, video, music, etc. To get to the root folder of the disk C, you need:

  • Press the Start button;
  • open "Computer";
  • Open disc S.

Root folder on a computer on a disk with

As already mentioned, the disk C is the same root folder where all system files and other computer wisdom are stored. Here it turns out the tree 🙂

***

Friends, I hope you learned something new of this article that you will certainly come in handy, and I gave you an exhaustive answer to the question "What is a root folder?"

Maybe you know other interesting ways to detect the root folders of the site? Share them in the comments!

Would you like to wonder for the experiment "Complex Promotion of Blog"? If so, join. After all, during this experiment, you will learn: What methods we will promote a blog, which of them will be effective and what results they will bring; What an increase in attendance will be every month; How much we earn and much more.

Do not forget to subscribe to the acquisition of articles from a blog, as well as our pages in social networks, YouTube Channel.

We are waiting for you!

With you was Catherine Kalmykova,

bye Bye!

We find out what the root directory, where the site's root is, and for which it may need.

What kind of root folder?

Root folder (root directory, root, root) is the key directory of the computer or server. In particular, on the basis of Linux. The file system begins with it, it stores all other subdirectories containing system and user files.

As for the server, it may be exactly the same root folder, as in any Linux distribution, if we are talking about a selected server (physical or virtual). It will contain the same components as an ordinary computer. And in the case of virtual hosting, this folder may be called public_html or www . There will be only site data. Get access to "Real" root will not work there.

Nevertheless, this directory will also be considered the root of the site, and this term will be appropriate to use in relation to conditional public_html or www. And in various instructions, the authors will refer to it, mentioning root.

The contents of the root folder

As I said earlier, the root directory may be different entities depending on the type of server.

For example, on a standard VDS / VPS, such a directory may contain the following folders:

  • / bin. with system programs, files and components necessary to load OS;
  • / boot. with bootloader components that include a Linux kernel and a basic file set for the server start;
  • / dev. with files tied to specific devices connected to the system;
  • / etc. With other scripts and files from which the server starts does not depend.

Such subdirectories in the root may be more. It all depends on the configuration of the computer and the OS.

On the virtual hosting, the Public_HTML folder or its analog does not contain anything, it is empty default. HTML documents, JS scripts and CSS files necessary for the work of the site are placed in it. Most likely, the directory to which the index.html file will be placed for you with the main page of your resource.

Where is the site root?

It depends on what is meant under the location of the directory. After all, we already found out that the www folder can be the root. For HTML, the directory specified in the server settings will be the root. And in the case of PHP, for example, it will be the root directory of the system. In CMS WordPress, this is a repository in the platform itself, in Bitrix to search the root there is a getcurpage () command.

What is the root directory?

This is the basis of your server and site. It lies all key components. It is needed for the work of the resource as a whole. Remove something out of the root and spread with the working operating system.

If we talk about the specific application of the root catalog webmasters in practice, then it will be about:

  • Downloading the robots.txt file, where pages that are prohibited for indexing by search engines will be prescribed. Through it hide different types of technical information and confidential data.
  • Adding a Sitemap.xml document (site map), where the page structure signs so that the search bot is easier to navigate on the site.
  • Storage of data required to confirm the rights to own a resource. There are adds scripts with third-party settings for integration with them (for example, Yandex.Metric Script).
  • Storage archive with backup site data. Bacup is required to restore the project after failure and loss of files.
  • To install CMS (the corresponding installation scripts are started from the root directory).

How to go to the site root

The entrance to the root directory is required fairly particularly, and there is at least four ways to go there.

Main - through the terminal. That is, using the command line and text utilities. But there is also specialized software with a graphical interface.

You can go to the root through the FTP (both on the server and virtual hosting). And some hosting providers have a log file manager to work with server files through the browser.

Through the terminal

To manage the server through the terminal, you need to connect to it via Secure Shell (SSH). For this:

  • Run the terminal (in MacOS or Linux).
  • We enter the command SSH root @ Site IP address .
  • Specify the administrator password for authorization.

In Windows, to perform this task, you will need to install the PUTTY application and specify the IP address of the site in it.

If you manage the server through the SSH protocol, the easiest way to go to the root directory using a command built into the Linux to move along the hard disk. We are talking about a team CD . When you use it without additional options (without specifying a specific path), it automatically sends the user to the root directory of the server.

Immediately you can check its contents, using the team Ls. .

Via FTP client

When renting a server or virtual hosting provider issues the user address, login and password. Using them, you can connect to your resource through software to work with FTP.

Consider this procedure on the example of the FileZilla utility:

  1. We go to the official website of the program developer and download it.
  2. Open FileZilla and fill the host fields, username and password at the top of the interface.
  3. Then click on the "Quick Connection" button to access the root directory.

Interface FileZilla.

FTP clients differ little from file managers. Most of them visually resembles Total Commander. A two-button interface will appear in front of you: in one of the panels there will be local files and folders, in the second - files and hosting folders.

To manage hot keys or items in the top panel FileZilla are used.

Through the hosting control panel

I have already said earlier that some providers provide access to files on the server through your own web application. I will tell you how such a TimeWeb application works (to manage virtual hosting).

  • Open the TimeWeb site.
  • We go to the Pu itself.
  • Go to the "File Manager" tab.
  • Open the Public_HTML directory.

If you use the services of another hosting, then it will certainly have an alternative similar solution for managing server files directly through the browser. You can clarify with technical support or independently search in PU item with the name "File Manager".

Through a third-party control panel

Some webmasters are used to manage the site of the program in the ISpmanager spirit. I will tell you about switching to the root of a virtual allocated server on its example.

  • We go to the ispmanager panel.
  • Log in using the administrator data.
  • Open the "System" menu.
  • Select subparagraph "File Manager".

Through the file manager

In Explorer (Windows) and in Finder (MacOS) there are built-in support for the FTP protocol. That is, to connect to the server, you do not need to download third-party software. Just enter the FTP address in the appropriate field of the operating system file manager.

Access to FTP in MacOS

In MacOS, this is as follows:

  • Open Finder.
  • Simultaneously press the CMD + K keys.
  • Specify the server address in format FTP: // Site IP address
  • Click on the button "Connect".
  • Log in using the data that Hosting issued.

In Windows:

  • Open Explorer.
  • We enter into the embedded search string FTP: // Site IP address
  • Log in using the data that Hosting issued.

The root folder will become part of the file system. It will be possible to interact with it, as with any other catalog. That is, coping there files or edit them. True, this will require administrator rights.

How to upload files to the root directory?

You can upload files to the server root through one of the control panels specified above or via the FTP client.

  • Open FileZilla (we already downloaded, installed and configured it earlier in the Instructions for Connecting through FTP).
  • On the opposite the Lokal Site string, we enter the path to the files on the disk you want to download to the root.
  • Opposite the "Remote Site" string, we enter the path to the root directory. For example, before the Public_HTML folder.
  • We highlight the folder you want to transfer and open the "File" menu.
  • In the options list that appears, select "Download to the server" or just click on ENTER.

In the case of the TimeWeb virtual hosting, it is enough to open the file manager of files through the browser and drag files from the hard disk. Here is fully supported by Drag & Drop. But this method is less convenient, as it requires to keep the browser open and takes a lot of time to download a large number of files.

On this, the libez can be finished. You learned what "root" is, why it is needed and how to upload files into it. It remains to choose the most convenient way to connect to the server repository and control them.

Where is the root directory of the site and how to download the file

Good day to all readers! Often, to confirm property rights to the site, asked to download a check file in the root directory of your site. In my articles, I mention the instructions that you need to go to the root directory of the WordPress site and copy the file to it. Many start-up webmasters have a question: and where is the root folder of the site, how to find it. Today I will fix this gap and tell you in detail what the root directory of the site, where and how to download the file to it.

So what is the root of the site? The root of the site is also called the root directory, the root folder or the root directory of the site. On hosting it opens in the Public_html folder. The root directory of the site is a folder on the hosting that contains the files that you need to work your site. At the root of the site there are folders and files:

Where is the root directory of the site and that it contains

There is no uniform universal instruction where to find the root directory of the site. Every hoster has their troubles.

I will give the algorithm how to find and open the root folder of the site. If your hosting is not running or hostenko, you will need to show a little smelting, and you will figure it out how everything is arranged on your hosting.

You will need: data to access the site through the FTP client and the program for FTP access.

After registering on your hosting, you provided such access data as the FTP address, login and password to it. Here is an example:

  1. Host - K01.hostenko.com.
  2. Login - DMN1234.
  3. Password - Ba4oilzR9e.

Find a letter from your hoster and save this data to a separate file so as not to lose in the future.

Now that this data you found. Download and install a special FTP client - a program to access the site. I use FileZilla program. Read more about how to install and configure FTP client FileZilla read https://inetsovety.ru/kak-polzovatsya-filezilla/.

If the program is already installed, open it.

At the very top, fill the host fields, username and password data from your hoster. And click on the "Fast Connection" button. If you have not allowed errors when filling these fields, the hoster connection will be successfully established. In the event that an error appeared, recheck, whether you were copied correctly and inserted the name and password as well as the host. Often, an exempted space is captured when copying. Be careful!

How to open the root directory of your site in File

In the case of Hosting Hostenko, the root folder of the site will be open immediately. Here, as in the photo:

How to upload a file to the site root

The hosting has a list of folders with the names of the domains you created on the hosting. First open the folder with the domain name, then the public_html folder. All, you got into the root of the site.

Write your memories in the comments about how you first figured out how to upload an HTML file in the root directory of the site. Is it easy for you or difficult? If I forgot about something in the article, add me in the comments.

Sincerely, Victoria - Blog inetsovety.ru

Добавить комментарий