This hosting maintenance note, published on January 3, 2017, is titled "The Process of Completely Deleting Bound Domains and Website Folders/Files in an LNMP Environment." The actual environment or tools involved include Nginx, Linux, and FTP.
Domain and site configuration
A friend recently mentioned having dozens of websites hosted in an LNMP-based web environment, most of which are unnecessary. They want to delete directories and unbind domain names. To unbind domain names from DNS records, you can go to the domain management panel or, if using a third-party DNS provider, directly change or stop the DNS resolution.
Software and deployment conditions
Due to built-in security features of the program, the .user.ini file cannot be deleted; a solution needs to be found.
Matters mentioned in the article
- First, unbind the domain name.
- Second, check the Nginx binding files.
- Third, use the lnmp command to delete the binding.
- Fourth, delete the LNNP-bound website files.
Usage Environment
Nginx, Linux, FTP.
Key points to check
Environmental verificationFirst, confirm the actual web server and PHP runtime environment used by the site. Command-line and website processes may use different configuration files; any changes should be verified through the website entry point.