Control Web Panel

WebPanel => CentOS-WebPanel GUI => Topic started by: asrof_id on September 07, 2016, 05:06:56 PM

Title: Unable to create sub domain; WARNING! "already exist in database"
Post by: asrof_id on September 07, 2016, 05:06:56 PM
Hello,

Cronology:
(1) I used to create an account "account1" with domain "sample-account1.com"
(2) Cause I have a problem, can not solve, I try to delete the account,
(3) then I create again with "account2" and rebuild virtualhost

Problem:
When I was going to create sub domain "subdomain.sample-account.com" shows error message like this:
WARNING! SubDomain subdomain.sample-account.com already exists in database!

Anybody know the issue?

Thanks.
Title: Re: Unable to create sub domain; WARNING! "already exist in database"
Post by: Igor S. on September 13, 2016, 08:01:17 AM
Hi, check virtual hosts file (/usr/local/apache/conf.d/vhosts.conf)
Title: Re: Unable to create sub domain; WARNING! "already exist in database"
Post by: asrof_id on October 07, 2016, 04:25:42 PM
Hi Igor, thank you very much.

(1)what should we check in the file?
(2)what should we edit in the file?

Thanks again.
Title: Re: Unable to create sub domain; WARNING! "already exist in database"
Post by: locvfx on October 12, 2016, 07:32:05 AM
Hi Igor, thank you very much.

(1)what should we check in the file?
(2)what should we edit in the file?

Thanks again.

Check duplicate entries (you domain you are planning to add in) in your vhost file