Setting up apache web server behind a router
Amedee Van Gasse (Ubuntu)
amedee-ubuntu at amedee.be
Tue Jun 9 10:38:36 UTC 2009
On Tue, June 9, 2009 02:37, Steve Reilly wrote:
> not 100% sure about the other stuff in "default" (i dont have anything in
> there but virtualhosts for other websites) but if you cant get to the
> webserver from outside the router with a browser id say either one of 2
> things are wrong. your isp blocks the port or all ports or your port
> forwarding isnt set up correctly in the router?
>
> is it setup to forward port 8080 to the internal ip of your webserver?
>
> from your internal network can you get the website by calling it with
> internalIP:8080?
I agree: either the ISP is blocking port 8080, or the router isn't
forwarding port 8080.
Most probably the ISP is blocking ports below 1024 (including port 80) but
usually not port 8080. Most probably the router configuration is wrong.
The router is a Linksys. Is it flashed with dd-wrt/openwrt/... or does it
still use original linksys firmware? Please give the router config as
complete and as detailed as possible. Every detail can be important.
> PS. whatever changes you make in sites-available you also ave to make in
> sites-enabled as well.
No, that is not true.
The config files in sites-enabled are (or should be) symbolic links to
config files in sites-available. Changes in sites-enabled are
automatically also in sites-available, because the real file is there.
If the files in sites-enabled are regular files, not symlinks, then the
Apache configuration is not as it should be, according to Debian/Ubuntu
best practices.
--
Amedee
More information about the ubuntu-users
mailing list