Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My router redirects port 80 to port 8080. My router works fine and my domain name is routed properly.

This is my virtual hosts file:

NameVirtualHost *:80
<VirtualHost *:80>
    DocumentRoot /home/admins/lampstack-5.3.16-0/apps/wordpress

I can access my website by entering "" but I cannot access it by entering ""

For further information, this is a part of my httpd.conf:

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


Background info: I installed ubuntu 10.4, then I installed bitnami lamp stack, then I installed a wordpress module. Basically if you install wordpress as just a user (not root) then you can't use port 80 (you can't listen to port 80 in the httpd.conf (/apache2/conf/httpd.conf)). What I had to do is reinstall both lampstack and wordpress as root.

I enabled root by doing the following:

You should also have a look at nat redirection, it could be a reason as to why you are having problems

After I did all of that, Everything started working on port 80, but I still couldn't access my website from my external ip or from another computer on my network. My router randomly restarted and fixed that though. so I'm not sure about that.

share|improve this question
You shouldn't include your solution in your Question. You should create a new Answer with that information and "accept" it. – Al E. Sep 27 '12 at 13:51
up vote 2 down vote accepted

Yes, because you have told your server not to listen on port 80

add to your configuration the following:

Listen 80

Everything should be OK

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .