Remove Parked/Addon Domains[SSH]

Discussion in 'Apache' started by adsblog, May 29, 2007.

  1. #1
    Hello
    i have a web server with WHM/cPanel and have SSH access .
    i want remove parked domains via SSH access . because parked domains show in WHM but i can't remove it .
    i can't find parked domains at httpd.conf .
    can i remove parked domains via SSH ?
     
    adsblog, May 29, 2007 IP
  2. sparksupport

    sparksupport Peon

    Messages:
    4
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Remove the domains entry from the following files

    /etc/userdomains
    /etc/localdomains
    /var/cpanel/users/<username>

    Now remove the dns entry of the domains from the server

    /scripts/killdns <domain.com>
     
    sparksupport, Jun 3, 2007 IP
    adsblog likes this.