Your Webhosting Questions
Answered by the Webhosting Experts

How to Fix cPanel Error: Sorry the Domain is Already Set Up

If your cPanel account is giving you the error “Sorry the domain is already set up,” it’s probably due to one of two different reasons. On it’s own, this error simply means that the domain in question still exists within the virtualhost in the apache httpd.conf configuration file. In the following guide, we’ll cover the two most likely reasons why you’re receiving this error message as well as the steps needed to resolve the issue.


Troubleshooting cPanel

The following are two possible explanations for why you might be receiving this error:

  1. Explanation One – The first possible explanation, is that the domain you are trying to create is already being used as a primary, addon, or parked domain for another account.
  2. Explanation Two – Alternatively, it may be possible that you are facing a technical issue associated with the domain. For instance, if the domain was previously associated with another account and was removed using the removing function, it’s possible that it wasn’t removed completely from the system.

If the error is due to the first reason, you can easily remove the domain name from the cPanel account. Even if it is not removed, it should produce the following error:

Error from park wrapper: Sorry, you do not control the domain


Fixing the cPanel Error

To resolve this issue, follow these steps:

  1. First, you should find out who owns the domain. To do so, enter the following command:


    *Note: you will of course need to replace the “” shown above with the name of the domain in question.

  2. Even if the above command produces no results, enter the following command string:

    grep /var/cpanel/users/*

  3. This will generate a result that looks something like the following:

    root@server [~]# grep /var/cpanel/users/*

  4. This information shows the owner of the domain Now that you know which account the domain is currently associated with, the next step is to update the following files with the new user and remove the lines associated with the previous domain.


    Remove the virtualhost for from /etc/httpd/conf/httpd.conf

    /var/cpanel/users/username [remove entries related to the domain]



    vim /etc/named.conf [remove entries related to domain]

    Remove DNS entry in WHM

    Run /scripts/updateuserdomains as root on the server.

And there you have it!


Popular Links

Looking for more information on cPanel? Search our Knowledge Base!

Interested in more articles about Control Panels? Navigate to our Categories page using the bar on the left or check out these popular articles:

Popular tags within this category include: cPanel, WHM, Plesk, DirectAdmin, and more.

Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.


The Hivelocity Difference

Seeking a better Dedicated Server solution? In the market for Private Cloud or Colocation services? Check out Hivelocity’s extensive list of products for great deals and offers.

With best-in-class customer service, affordable pricing, a wide-range of fully-customizable options, and a network like no other, Hivelocity is the hosting solution you’ve been waiting for.

Unsure which of our services is best for your particular needs? Call or live chat with one of our sales agents today and see the difference Hivelocity can make for you.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: We are also available to you through our phone and live chat system 24/7/365.