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 http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" 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 18.104.22.168 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=”http://iserversupport.com/server-support-products/server-security/”]View Server Administration Packages[/button]