Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to upload files to a virtual host

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

How do virtual hosts upload files? Many novices are not very clear about this. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can gain something.

For the virtual host products purchased by domestic host vendors, take the Windows operating system as an example, when you get the relevant login password from the host vendor, log in to the virtual host or access through FTP, there will be three folders, namely htdocs; WebLog; database.

These three folders are all the contents of the web space:

The htdocs directory is where all the data of the website is stored, that is, after the webmaster completes the site, he will upload the content to this directory.

Weblog this folder stores the website log, and the virtual host generates a file every day to record all the relevant data in the virtual space, including IP, time, search engine information, etc. Webmasters who do SEO optimization will often download this log for analysis, which pages have been grabbed by each search engine, so as to optimize the page according to this information, so that the website can be better included.

Another database folder, which is a read-only directory, holds the database files of the site.

After the webmaster buys the product from the host, he compresses the program on his website, uploads it to the htdocs folder, and then uploads the database to the database directory. If it is an access database, put it in any folder you want.

Of course, for better management, it is recommended to put it in a conspicuous position. If it is a Mysql database, it can only be in the database directory, can not create new files, otherwise the site will not be able to access properly. These three folders cannot be deleted, otherwise they will need to be reopened before they can be used normally.

After the host is leased in the Unix system, log in through FTP and there is only one htdocs folder. Like htdocs under Windows, it stores all the information on the site. However, in the Unix system, the database is also stored in the htdocs folder, and the content will be automatically compiled into the relevant subfolder, which cannot be accessed through the WEB side.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report