Sur la machine ou tu as installé ton serveur, tu peux aussi tester en local sans interface graphique avec la commande wget
wget localhost
wget 127.0.0.1
Ca te permettra déjà de tester si ton serveur httpd fonctionne en t'affranchissant des problèmes réseau et firewalld
Pour t'aider:
$ sudo systemctl stop httpd.service
$ sudo systemctl status httpd.service
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
Active: inactive (dead)
oct. 25 02:11:59 pc20.home systemd[1]: Starting The Apache HTTP Server...
oct. 25 02:11:59 pc20.home systemd[1]: Started The Apache HTTP Server.
oct. 25 02:17:34 pc20.home systemd[1]: Stopping The Apache HTTP Server...
oct. 25 02:17:35 pc20.home systemd[1]: Stopped The Apache HTTP Server.
$ wget 127.0.0.1
--2013-10-25 02:18:13-- http://127.0.0.1/
Connexion vers 127.0.0.1:80...échec: Connexion refusée. >>>> le serveur httpd est INactif
$ sudo systemctl start httpd.service
$ sudo systemctl status httpd.service
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
Active: active (running) since ven. 2013-10-25 02:18:21 CEST; 4s ago
Main PID: 4231 (httpd)
Status: "Processing requests..."
CGroup: name=systemd:/system/httpd.service
├─4231 /usr/sbin/httpd -DFOREGROUND
├─4232 /usr/sbin/httpd -DFOREGROUND
├─4233 /usr/sbin/httpd -DFOREGROUND
├─4234 /usr/sbin/httpd -DFOREGROUND
├─4235 /usr/sbin/httpd -DFOREGROUND
└─4236 /usr/sbin/httpd -DFOREGROUND
oct. 25 02:18:21 pc20.home systemd[1]: Started The Apache HTTP Server.
$ wget 127.0.0.1
--2013-10-25 02:18:29-- http://127.0.0.1/
Connexion vers 127.0.0.1:80...connecté. >>>> le serveur httpd est actif
requête HTTP transmise, en attente de la réponse...403 Forbidden
2013-10-25 02:18:29 ERREUR 403: Forbidden.
Après il te reste juste à paramétrer ton serveur dans /etc/httpd/conf.d, ouvrir le port 80 dans firewalld, ....