Deleting a virtual host site

From Edgar BV Wiki
Jump to navigation Jump to search
delete users from /home/sites/SITENAME/users/
delete user from /var/spool/mail
delete group
rm -R /home/sites/SITENAME/
rm /opt/weblog/etc/*SITENAME*
rm /etc/awstats/awstats.SITENAME.conf
rm -R /home/sites/edgarghost.tripany.com/site/sitestats/SITENAME
rm /var/log/apache/awstats/*SITENAME*
rm /etc/logrotate.d/site.SITENAME*
a2dissite SITENAME
rm /etc/apache2/sites-available/SITENAME
delete users from /etc/postfix/virtual
delete users from /usr/lib/cgi-bin/.htpasswd
delete SITENAME from /etc/postfix/virtual-domains
delete SITENAME entries from /opt/triphost/sitestatistics.sh
delete SITENAME from /etc/apache/listvirts