Accidentally deleted /etc/named.conf in Cpanel

Linux/Unix Add comments

i was into a mess by accidentally deleting /etc/named.conf in my dedicated server running centos 5. Sooner i did that all my sites went down. I was in a terrible situation.

For those of you who did that i am documenting here how to restore the file!

Go to Cpanel WHM > Configuration file rolleback > /etc/named.conf

Manually go back and you would see the file backup and click restore. Thats how i fixed.

There are other ways like

/scripts/rebuildnamedconf

but that didnt fix my problem!

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • BlinkList
  • blogmarks
  • del.icio.us
  • digg
  • feedmelinks
  • Furl
  • Fleck
  • MyShare
  • NewsVine
  • Netscape
  • Slashdot
  • Spurl
  • StumbleUpon
  • Taggly
  • Technorati
  • Wists
  • YahooMyWeb

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Login