(FIXED)How to Fix “Invalid/etc/resolv.conf” found error while cPanel installation? Serverhosthub – The Hosting Platform Made For You – Go Online With Hosting serverhosthub | free hosting | Linux shared hosting | Hosting | Free domain | Life time Free ssl certificate | Chepest web hosting | Low price hosting | Domain Transfer

Cheap Linux Hosting|Best Web Hosting

To fix “invalid /etc/resolv.conf” error during cPanel installation you need to edit this file in PuTTY or WHM using ConfigServer Explorer.

Set the DNS server to be used by adding to the file: /etc/resolv.conf :

Steps to set up DNS Server:

  • Login to your WHM (Root)
  • find configserver explorer
  • go inside the directory e.t.c
  • then go to resolution.conf file and add the given line:
nameserver [IP_Address]
nameserver [IP_Address]

[Note: In place of IP_Address write the real IP resolver. For ex. nameserver 173.254.145.28]

We hope this article was clear enough to explain to you how to fix “Invalid /etc/resolv.conf” error during cPanel installation.

If you have any questions or queries, feel free to leave them in the comment section below.

Cheap Linux Hosting|Best Web Hosting

Thanks for reading!!!