Last article, Lao Zuo shared“ One of the LNMP series tutorials: adding a domain name to establish a site "If we don't want to set up the website in the VPS and want to move it to another space, I suggest you delete the site bindings and data in the original VPS, for the sake of the cleanliness of the data in the original VPS and for the convenience of collaborative management by others. If you see data from other sites in the VPS, you won't know whether the site is in the host after a long time.
First, use the command to delete the domain name binding;
rm /usr/local/nginx/conf/vhost/laozuo.org.conf
Replace the domain name with the site domain name you added.
Step 2: Find the website point path under the wwwroot directory through the cd command, Delete Site Data;
rm -rf laozuo.org
Notes: stay Delete Site Before that, we need to ensure that the data is removed. Because VPS is different from the host, the backup is our own, and VPS vendors rarely give us synchronous backups.
Scan the code to follow the official account
Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge