Centos 7 can't access local server via browser.

Associate
Joined
28 Apr 2013
Posts
100
Here are some things you might try:

Restart all the services.

Check IP of server:
Code:
ifconfig

Check firewall:
Code:
iptables -L

What does the Apache config say? It might not be listening on that IP but instead listening on the host name. (It's a long time since I've used Apache, so apologise if I'm not specific).

Linode carries good documentation. You might want to compare it to the servermom one.
 
Soldato
OP
Joined
16 Jun 2013
Posts
5,381
Thank you for the response. I literally solved it a minute before you replied. Sorry for wasting your time.

It was the firewall in the end.
 
Associate
Joined
28 Apr 2013
Posts
100
Glad you got it sorted!

I've always used debian for servers and that has no firewall by default. I can see pros and cons for doing it both ways.
 
Soldato
OP
Joined
16 Jun 2013
Posts
5,381
Only reason I went for centos was due to all previous hosts I've used ran it so it was somewhat familiar to me(although never having set one up from scratch).

Its only due to being given an old server I've decided to learn it for myself from scratch. Good thing to add to my CV seeing as its close to redhat.
 
Back
Top Bottom