Delete website/domain
Delete website/domain
Hi, how to delete website or domain from my VPS on centos via putty?
Re: Delete website/domain
This should stop and disable apache:
systemctl stop httpd
systemctl disable httpd
systemctl stop httpd
systemctl disable httpd
Re: Delete website/domain
delete /etc/httpd/conf.d/domainname.conf
Re: Delete website/domain
You assume that config for the target domain is in descriptively named file.
@Kawa: Your question is:
How to modify via command line the content that httpd serves?
Your "putty" reveals that you are using command line.
The "VPS" is irrelevant and this is CentOS Forum ...
tunk's "Stop the server" gets the job done, but for finer control you have to know how httpd is configured.
On CentOS the base config is in /etc/httpd and data in /var/www (by default).
Apache's documentation should help.
Re: Delete website/domain
If you set this up in the first place then the answer would be "do the reverse of what you did to install it".
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke