Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

How to fix Cpanel Error: Sorry the domain is already set up.

Getting the above error simply means that the domain still exists in the virtualhost in apache configuration file known as httpd.conf . There are two main reasons why it has shown you this error.
Reason One:
It might be possible that the domain you are trying to create is being used as a primary domain for one of the accounts or may be it has been used as an addon domain or parked for other domains and accounts.
Reason Two:
Or it may be possible that you are facing some technical issues such as the addon, parked or the primary domain is not removed completely from the system after using the removing function.
If the error is due to the first reason, you can easily remove the domain name from the cPanel account and even if it is not removed and come up with the following error:
Error from park wrapper: Sorry, you do not control the domain
Follow the steps given below:
First you should find out who owns the domain, enter the following command:
Even if it didn’t show any results, enter the following command string:
grep /var/cpanel/users/*
You will get the result something like the following:
root@server [~]# grep /var/cpanel/users/*
As you can see, we could easily find the owner of the domain (, the next step is to edit the following files with the corresponding user and remove the lines associated with the domain ( you have problem with.
Remove the virtualhost for from /etc/httpd/conf/httpd.conf
/var/cpanel/users/username [remove entries related to domain]
vim /etc/named.conf [remove entries related to domain]
Remove DNS entry in WHM
Run /scripts/updateuserdomains as root on the server. And that should fix the issue.

Share on Twitter
Share on Facebook