degreethree

Member
Jun 23, 2004
7
0
151
Hello,

My client recently decided to switch domains. The first was configured through WHM, so my plan was to modify the first account, change the domain name, then add the first domain as a parked domain.

After the account was modified, I tried to add the parked domain and got the error:
Sorry, a DNS entry for already exists, please delete it first

I tried to create a new hosting plan with the first domain name, and got the following error:
Sorry, that domain is already setup (remove it from httpd.conf?)

The initial domain name is not listed anywhere in the WHM.

I found other threads regarding this problem, but could you please explain any processes in step-by-step terms? I am very new to this.

- Ian
 
Last edited:

sawbuck

Well-Known Member
Jan 18, 2004
1,365
10
168
cPanel Access Level
Root Administrator
Assuming you have root WHM, have you checked under DNS functions to see if a zone for the domain in question still exists?
 

degreethree

Member
Jun 23, 2004
7
0
151
Yes, it does not exist. The name is not under the DNS zones or the parked domains, I have not found it anywhere.
 

sawbuck

Well-Known Member
Jan 18, 2004
1,365
10
168
cPanel Access Level
Root Administrator
First a suggestion about editing any system files via root access. Make (mkdir) yourself a backup/ folder in your root directory. Before editing do a copy (cp) of that file to your backup directory like this cp "filename" ~/backup.
Now go to /usr/local/apache/conf and you will see the httpd.conf file. You can use pico to edit the file or vi. After you make any changes to the file do a "httpd stop" and then a "httpd start". Make note of any errors.
 

degreethree

Member
Jun 23, 2004
7
0
151
How do I get to the apache shell to run the commands?

I am a reseller, so I do not have direct access to the server, all I have is WHM. Is it possible to make the modifications through that?