Focus on cloud service provider activities
Notes on website operation and maintenance

LNMP Series II: Deleting Site and Domain Name Binding

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.

 LNMP Series II: Deleting Site and Domain Name Binding

Step 2: Find the website point path under the wwwroot directory through the cd command, Delete Site Data;

rm -rf laozuo.org

 Delete Site Directory

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.

 

Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( zero )
Do not reprint without permission: Lao Zuo's Notes » LNMP Series II: Deleting Site and Domain Name Binding


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge