Web Hosting Talk







View Full Version : WHM Error


ProSam
04-07-2002, 11:15 PM
Modifing httpd.conf
Modifing proftpd.conf
Modifing domainaliases
Modifing valiases
Adding dns entry
Sorry, a DNS entry for lhdb.com already exists, please delete it first


What does this mean and how do I fix it?
I had setup an account with lhdb.com and then lost this domain so I set it up with a different domain but now I got lhdb.com back and I want to go back to the original way. When I modify the account I get this error.




Thanks in advance for the help,



-- Sammy

MCHost-Marc
04-08-2002, 12:09 AM
cp -a /var/named/lhdb.com.db /var/named/lhdb.com.db.backup (in case something goes wrong)
rm -rf /var/named/lhdb.com.db

Then try again :)

ProSam
04-08-2002, 01:38 AM
Originally posted by Kiwi
cp -a /var/named/lhdb.com.db /var/named/lhdb.com.db.backup (in case something goes wrong)
rm -rf /var/named/lhdb.com.db

Then try again :)
Hey Kiwi,
Thanks for the help but I'm new at this so I need a little bit more explanation.


--Sammy

MCHost-Marc
04-08-2002, 03:22 AM
Are you a little familiar with SSH (shell) ? Actually ...you can just go to "Delete a DNS Zone" in WHM and delete the zone for lhdb.com.db :)

ProSam
04-08-2002, 10:58 AM
Originally posted by Kiwi
Are you a little familiar with SSH (shell) ? Actually ...you can just go to "Delete a DNS Zone" in WHM and delete the zone for lhdb.com.db :)
I tried that but there is no dns entry for lhdb.com in the DNS Zone. That's why I'm asking. It seems weird to me.


-- Sammy

kmh
04-08-2002, 11:07 AM
Sounds like you may need to manually edit your httpd.conf file to remove old traces of that domain.

ProSam
04-08-2002, 11:14 AM
Originally posted by kmh
Sounds like you may need to manually edit your httpd.conf file to remove old traces of that domain.
How Do I Do That?

kmh
04-08-2002, 11:17 AM
Honestly, that's a question I hesitate to answer, as editing that file can muck up the entire server if done incorrectly. I do not want to be responsible for that. Instead, I can only suggest that you turn this over to your server administrator and let him/her make those sort of modifications for you.

ProSam
04-08-2002, 11:22 AM
Originally posted by kmh
Honestly, that's a question I hesitate to answer, as editing that file can muck up the entire server if done incorrectly. I do not want to be responsible for that. Instead, I can only suggest that you turn this over to your server administrator and let him/her make those sort of modifications for you.
Will do, thanks for the help.:D

oSM
04-09-2002, 09:03 AM
pico /usr/local/apache/conf/httpd.conf

find the line with the domain and put a "#" in front of them to comment out.. (safe way)
otherwise just delete the entries..