centos server 5.8 unable to resolve http

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
nyatia
Posts: 1
Joined: 2017/10/02 10:20:30

centos server 5.8 unable to resolve http

Postby nyatia » 2017/10/02 10:27:50

Hi,

I just installed centos 5.8. I am new to the linux environment.
I am unable to resolve http://mirrorlist.centos.org though i can ping to mirrorlist.centos.org with httpp://

Things that I have already tried:
1. ensured internet is working.
2. I can telnet to port 80.
3. Added iptables -A INPUT -p tcp --dport 80 -j ACCEPT
4 service iptables restart
5 service httpd start

Please suggest me what else I can try

User avatar
avij
Forum Moderator
Posts: 2141
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: centos server 5.8 unable to resolve http

Postby avij » 2017/10/02 10:54:29

You may have missed the news that CentOS 5 is end of life. This means CentOS 5 has been removed from mirrors and it will not get any more updates, ever.

Please consider using either CentOS 6 or CentOS 7.

User avatar
TrevorH
Forum Moderator
Posts: 21018
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: centos server 5.8 unable to resolve http

Postby TrevorH » 2017/10/02 15:01:40

Also, 5.8 isn't even the latest unsupported CentOS 5 - that's 5.11. Your best idea is to nuke what you've done now and reinstall using 7.4.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke