local wordpress installation not accessible from the outside world
Posted
by
hello
on Server Fault
See other posts from Server Fault
or by hello
Published on 2014-08-22T20:27:42Z
Indexed on
2014/08/22
22:23 UTC
Read the original article
Hit count: 176
apache-2.2
|Wordpress
I have a working installation of wordpress located in /var/www/html/wordpress It is accessible in my local network at [local-machine-ip]/wordpress/
There is also a test page located in /var/www/html/test.html It is also accessible in my local network at [local-machine-ip]
I would like the wordpress website to be accessible from the outside world. I know that my ISP blocks incoming requests on port 80, so I set my router to redirect requests from port 8080 to 80. This feature appears to be working correctly since I can access the test.html page using my public ip address as follows: [public-ip]:8080
However, I cannot access [public-ip]:8080/wordpress
Here is my Apache config :
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ServerName [my.domain.com]
<Directory /var/www/html/>
Options FollowSymLinks Indexes MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Thanks!
© Server Fault or respective owner