I can't externally access my home server's wordpress website

Posted by piratepartypumpkin on Super User See other posts from Super User or by piratepartypumpkin
Published on 2012-09-26T01:19:25Z Indexed on 2012/09/26 3:40 UTC
Read the original article Hit count: 450

Filed under:
|
|
|
|

Basically, I can access everything just fine using 127.0.0.1, but if I use my external IP (123.123.123.123), I get page not found.

My router is port forwarding HTTP port 80 to port 8080 on my servers internal IP address. In other words: (Application: HTTP | Start: 80 | End: 8080 | Protocol: Both | IP Address 192.168.0.101 | Enable [YES]) I know it's forwarding properly, because when I stop port forwarding, I can access my router page by using my external IP.

My virtual hosts file is:

NameVirtualHost *:80
    <VirtualHost *:80>
    DocumentRoot /opt/lampstack-5.3.16-0/apps/wordpress
    ServerName example.com
    ServerAlias www.example.com
</VirtualHost>

and my httpd.conf file is:

Listen 80
Servername localhost:80
DocumentRoot "/opt/lampstack-5.3.16-0/apache2/htdocs
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny, allow
    deny from all
</Directory>
<Directory "/opt/lampstack-5.3.16-0/apache2/htdocs">
    Options FollowSymLinks
    AllowOverride None
    Order allow, deny
    allow from all
</Directory>

© Super User or respective owner

Related posts about ubuntu

Related posts about networking