If you delete a dns zone file for mistake in Cpanel/WHM and the account has lot of subdomains , then it can get very time consuming to fix this manually , by first adding the zone file and then adding entries for individual subdomains, below trick can fix this :

  • Rename the domain name from WHM to some other name temporairily , which will create the zone file with new name for main domain and will add zone entries for all subdomain as well.
  • Now rename the domain name again back to original , and here you go , with complete zone file back in action.

Tags: , , ,

Leave a Reply