|
|||
|
How can i remove a domain?
How can I completely remove a domain with SSH? I have an addon domain and it keeps on telling me that the domain still exists in the httpd.conf i terminated the account and deleted the DNS zones. Any idea?
|
|
|||
|
You will have to check in all the places that it adds entries in, such as the named.conf, httpd.conf, cpanel user directory, etc.
If it says it's in the httpd.conf, then open that file and search for the domain name and see if anything is found. |
|
|||
|
If it is add-on domain then more often than not, you will see a VirtualHost entry corresponding to addondomain.maindomain.com . You can delete this entire VirtualHost entry. And if you had created sub-domains for this add-on domain then there will be more VH entries.
__________________
InstaCarma Outsourced Web Hosting Technical Support and Server Management To visit out Blog , click here |
|
|||
|
Glad to know that!
__________________
InstaCarma Outsourced Web Hosting Technical Support and Server Management To visit out Blog , click here |
|
|||
|
How to remove a domain completely
You need to confirm the domain details are not present in the following files, if they are present remove the entries and try again.
/etc/named.conf /var/named/zone /usr/local/apache/conf/httpd.conf ( Virtual host section) /etc/userdomains /etc/trueuserdomains /etc/localdomains /etc/remotedomains /etc/trueuserowners /etc/valiases/domainname /var/cpanel/users/username /etc/vdomainaliases /etc/passwd /etc/shadow /etc/vfilters /etc/vftp /etc/vmail |
|
|||
|
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to remove domain from another user? | labahost | cPanel and WHM Discussions | 1 | 09-11-2006 01:28 PM |
| How do I remove an addon domain? | SwiftyUK | cPanel and WHM Discussions | 1 | 03-16-2006 04:17 AM |
| Addon Domain will not remove | cdick@ocis.net | cPanel and WHM Discussions | 0 | 03-14-2006 04:09 PM |
| Deleting an add-on domain doesn't remove domain DNS entry | MattF | cPanel and WHM Discussions | 0 | 10-17-2002 09:17 PM |