Are you interested for monthly server support with Unlimited tickets, 24×7 monitoring , Security Audit and lot more ? please check our Monthly server support plans

Sometimes you will see the following error after configuring the fresh installation of centos,

Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist error was
14: PYCURL ERROR 6 - "Couldn't resolve host ''"
Error: Cannot find a valid baseurl for repo: base

This is because of the issue with resolving host. To fix this do as mentioned below,

Login to the server from command line.

Edit the file  /etc/resolv.conf and add name servers to the file,

You can insert nameserver or what ever your preferred public open DNS server to be as the first entry.

Now it will be fine.
Need our help to fix the issue ? Submit Support Ticket Now


[button size=”large” color=”green” title=”Server Administration Services from Stack Supports” link=””]View Server Administration Packages[/button]