Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to download the website source code on the virtual host

Shulou Source: shulou.com Published: 2022-06-02 01:37:57 10月30日 Update

How to download the website source code on the virtual host? Many novices are not very clear about this. In order to help you solve this problem, the following small series will explain it in detail for everyone. Those who have this need can come to learn. I hope you can gain something.

Download the website source code from the virtual host, it is recommended to use FTP software, relatively simple and fast. FTP software will be virtual host root directory through all the files downloaded out, these files that is the source of the site.

1, FTP connection virtual host

First install FTP software, such as cuteftp; second, select Site Manager at File; third, enter FTP information, including FTP address, username and password, which can be found in the virtual host details; finally, click Connect to connect to the virtual host file management through FTP.

2. Select the root directory and download

After FTP is connected to the virtual host file management, we can see several folders, where wwwroot is the root directory and the website source code exists here.

Select the root directory, right click download, you can download the website source code from the virtual host.

If we need to install the website source code to another virtual host, we need to check whether the new virtual host supports the website source code. For example, two are PHP virtual hosts, generally can be common, just upload the website source code to the new virtual host through FTP, you can complete the installation.

Note:

If the website source code has been installed and configured, then after copying to the new virtual host, you need to manually change the configuration to access it; if the website source code has not been specifically installed, then after copying to the new virtual host, access the domain name, and the installation process will automatically start.

Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.

Tags: Host virtual host source code website file root directory selection information software management download website copy help support configuration clear two content just address Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Xiaomi Docker MySQL Huawei