2013-02-21 155 views
0

我不确定stackoverflow是否也允许服务器配置问题,但是因为这可能与Apache有关,所以希望有人能帮忙。我试图设置我的云服务器以允许80端口上的传入连接,以便在浏览器中输入http://domain.com时可以看到我的服务器文件。阿帕奇安装,我目前正忙着设置我的iptables(我怀疑这可能是问题)。无法通过浏览器连接到云服务器(iptables)

我目前的iptables如下:

Chain INPUT (policy ACCEPT) 
target  prot opt source    destination 
ACCEPT  all -- anywhere    anywhere   state RELATED,ESTABLISHED 
ACCEPT  icmp -- anywhere    anywhere 
ACCEPT  all -- anywhere    anywhere 
ACCEPT  tcp -- anywhere    anywhere   state NEW tcp dpt:ssh 
REJECT  all -- anywhere    anywhere   reject-with icmp-host-  prohibited 

Chain FORWARD (policy ACCEPT) 
target  prot opt source    destination 
REJECT  all -- anywhere    anywhere   reject-with icmp-host-  prohibited 

Chain OUTPUT (policy ACCEPT) 
target  prot opt source    destination 

由于这是我第一次尝试(和我的网络经验去与什么有关MS机的GUI提供),我不知道如果我正确地做了它。

任何想法?

回答

0

管理得到它的工作,Apache没有启动:)

相关问题