Hi, I have a domain called example.com on Plesk Onyx 17.8.11 with CentOS Linux 7.6.1810. Yesterday I created a new domain called foo.com. The problem is that if I go to any subdomain on example.com such as xyz.example.com, it shows the homepage of foo.com (the new domain I just created).
I wasn’t able to add a new domain to Plesk until I ran the commands in the link below:
Unable to create object in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry for key 'PRIMARY'
What could be the problem? When I visit xyz.example.com, it says the SSL certificate is invalid because it’s using the certificate from foo.com.
I have tried deleting foo.com and adding it again, but I get the same problem.
I wasn’t able to add a new domain to Plesk until I ran the commands in the link below:
Unable to create object in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry for key 'PRIMARY'
What could be the problem? When I visit xyz.example.com, it says the SSL certificate is invalid because it’s using the certificate from foo.com.
I have tried deleting foo.com and adding it again, but I get the same problem.