How to Fix “Invalid/etc/resolv.conf” found error while cPanel installation [FIXED] In order to fix “Invalid/etc/resolv.conf” found error while cPanel installation you have to edit this file PuTTy or via using ConfigServer Explorer in WHM Set the DNS servers to be used by adding into the file: /etc/resolv.conf : Steps to set up the DNS Servers: