Already exists in apache config
Trying to re-add a domain that is giving me issues.
I am getting this error:
I have rebuilt apache and looked around on the web but can't figure out what I am missing . Thanks guys.
Account Creation Status: failed
The domain "mydomain.com" already exists in the Apache configuration.
I have rebuilt apache and looked around on the web but can't figure out what I am missing . Thanks guys.
-
You have to manually edit httpd.conf and remove the virtual entry of the domain. Remove complete virtualhost part of that domain then save the file and test apache configuration with below command. httpd -t. If it say ok then restart the apache. Before doing any changes take backup of httpd.conf. 0 -
Thanks that did the trick 0 -
Hello :) It's possible the domain name was added as a parked/addon domain name to an additional account. For anyone else experiencing this issue, it's a good idea to search for the domain name in the cPanel userdata files: grep $domain /var/cpanel/userdata/*/*
Thank you.0 -
cPanelMichael -- Many thanks for your comment above. I spent hours trying to find a solution to my problem before finding your answer! It's a great tip in the guide for an effective thread to search google with the site: tag 0 -
Hello, I'm happy to see the response helped you to resolve an issue, and the search tip on the "Effective Forum Thread" post was helpful. Thanks! 0 -
Hello :) It's possible the domain name was added as a parked/addon domain name to an additional account. For anyone else experiencing this issue, it's a good idea to search for the domain name in the cPanel userdata files:
grep $domain /var/cpanel/userdata/*/*
Thank you.
there is a script for that /scripts/whoowns domain.com0 -
there is a script for that /scripts/whoowns domain.com
@dalem, this is a good point. In most cases, you can simply use the "/scripts/whoowns" command to determine which username owns a domain name on the system. In certain cases, you must manually search for this information if the command does not output a username, or to obtain additional information about how the domain name is linked to the account. Thanks!0 -
i had the same problem and found this using the tip by cPanelMichael. In my case, it was a SSL Certificate that i had installed on the server, i fixed it just by removing the keys, crt and csr in the "Manage SSL hosts" 0 -
grep $domain /var/cpanel/userdata/*/*
This has resolved my issue today. I manually removed the entries on the configuration files found by this command and after that executes the following command:/scripts/rebuildhttpdconf
Thank you @cPanelMichael !0
Please sign in to leave a comment.
Comments
9 comments