LNMP Series Tutorial two deletes a site and the domain name binding _linux

Source: Internet
Author: User
Tags vps

On a previous, old left share to "one of the LNMP series tutorials to add domain name to build site", if we have encountered in the VPS do not want to build the site, want to move to other space time. I suggest that you or delete the original VPS in the site binding and data, one is for the original VPS data cleanliness, and secondly can facilitate other people to manage together. If you have other site data in this VPS, a long time does not understand this site is not in the host.

The first step is to use the command to remove the domain binding;

Rm/usr/local/nginx/conf/vhost/laozuo.org.conf

The domain name is replaced by the site domain name that you add.

The second step, through the CD command to find the site Wwwroot directory path, delete site data;

RM-RF laozuo.org

Note: before deleting the site, we have to ensure that the data are removed, because the VPS and host different, backup is our own, VPS rarely give us synchronous backup.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.