• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Cannot Remove DNS after Cancelling During Setup

A

ambaxter

Guest
I canceled during a domain creation in plesk to start from the beginning with a different setup.

when i went back to the beginning, the domain was not in the list, however it won't allow me to add it again because it says:

Unable to create the domain {domain} because a DNS record pointing to the host {domain} already exists.

Is there somewhere in Plesk or ssh that i can edit values so that i can bypass this error and add the domain again?

I've tried several things and i cannot get around it.
 
Hi,

You will have to remove all records related to old domain from Plesk database. They are stored in the dns_recs tables.

You can get them all using the following sql query:
mysql> select * from dns_recs where host like '%domain%';
 
I'm having two problems now:

1. My database says permission denied for root using password

2. What is the name of the database that contains the record I'm supposed to edit?

thanks for your help
 
Originally posted by ambaxter
I'm having two problems now:

1. My database says permission denied for root using password

2. What is the name of the database that contains the record I'm supposed to edit?

thanks for your help

1. How do you access Plesk database. Do you use the following command:

#mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

2. The database name is 'psa'.
 
Thanks for that help. I used the username admin and it worked.

I created a mysldump and opened in text editor. I found that the domain in question is still in the PSA database in 38 locations.

Now, I have no idea how I am going to remove all references safely!
 
What mysql command would I have to run in order to remove all instances of my domain from the dns_recs table?
 
Back
Top