• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

[HOWDOI] Install new domain that exists in DNS

M

Martin Lawrence

Guest
Hi everyone,

I am trying to create the domain "martinlawrence.ca" to my Plesk installation. However, the domain already exists in DNS, as the Windows 2008 server is a domain controller with that domain. So I get the error "Error: DNS records for domain with such name already exist"

How do I go about adding this domain to Plesk?

Thanks,

Martin Lawrence
 
I can suggest you remove all related records in psa database with following method:

1. Find dns_zone_id first with

select id from dns_zone where name='martinlawrence.ca';

2. Find all DNS records for this dns_zone_id:

select * from dns_recs where dns_zone_id =XXX;

3. Remove all these records and try add domain again.

I hope it will help.
 
Hello Igor.

In My case report:
mysql> select id from dns_zone where name='netgames3d.net';
Empty set (0.00 sec)
 
I find another way to find the DNS record with the:

select * from dns_recs where dns_zone_id =XXX; searching ID by ID from Id 1

I've deleted the record and after try re install the domain show the fallow error:
Failed domain creation: Unable to update domain data: Failed mail post-configuration: Can't create mail domain servie: mail_Facade->createDomain() failed: mailmng failed: MEAOPO.PostOffice.AddPostOffice failed for name netgames3d.net [netgames3d.net]
 
Check if postoffice for netgames3d.net was already created in MailEnable:

Run %plesk_dir%\Mail Servers\Mail Enable\Bin\MailEnable.msc

If it is there then remove it and try to create domain again.
 
Back
Top