Google

Deleting domain from Plesk Manually – windows

Written on:June 29, 2011
Comments
Add One

I have been getting queries about deleting domain from Plesk Control Panel for windows.

Occasionally when the server is busy and a domain is being deleted the site is deleted off IIS, Mail Server and DNS Server but it still remains on the Plesk and shows like an Suspended account.

(Reason for that is Plesk uses DNS zone to perform its suspension, when an account is suspended from a server plesk turns down the DNS zone of the domain, so when it see’s the DNS zone missing it interprets as the domain is suspended)

In such occasions the domain needs to be deleted from the PSA database of plesk.

Plesk Uses 3 database models you can find which one you are using by doing the following:

To determine database provider it is necessary to run regedit.exe and go to

for x86

HKEY_LOCAL_MACHINE\SOFTWARE\PLESK\PSA Config\Config

for x64

HKEY_LOCAL_MACHINE\SOFTWARE\wow6432node\PLESK\
PSA Config\Config

The value of key “PLESK_DATABASE_PROVIDER_NAME” is the database provider which Plesk uses for database storage.

The database providers that could be listed here are:

- Jet
- MySQL
- MSSQL

For Jet – its an Access MDB File

For editing the MDB file you can use “MDB Viewer Plus” a free application (we use the same) click here

Open the file from C:\Program Files\Parallels\Plesk\admin\db\psa.mdb (depening on your install location)

Navigate to domains tab >> Delete the line containing the domain name.

 

For MySQL

cd %plesk_dir%\mysql\bin && mysql.exe -u admin -P8306 psa -p

PASSWORD (enter your plesk admin password)

use psa \G

delete from domains where id=(SELECT id FROM domains where name=’example.com’);

 

2 Comments add one

  1. Deandra says:

    Grade A stuff. I’m unuqetsinoably in your debt.

  2. Lorrie says:

    Stay inoframitve, San Diego, yeah boy!

Leave a Comment

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>