Hi All
I want to move from 5.10 on WAMP to 6.4 on LAMP as I feel Drupal may work more naturally there, and have a Apache question. On Windows Apache uses port 80, and on Ubuntu port 8080 huh?
I've done the install thing, and 'http://localhost:8080/drupal/' works fine, but I'm confused - how will my domain-name registered with dyndns get to the right port as 80 is for http, yes?
Further confusion - on my router I port-forward HTTP (I'm almost certain that means port-80) to my web-server (dual-boot windows / ubuntu).
I guess I could just change Apache to use port 80 (atleast then the port-forwarding would work no-matter which o/s I had booted). And I wonder if dyndns's translation includes a port number?
(soo confused!)
richard101
Comments
Several quick
Several quick answers.
Ubuntu/Apache normally would install and run on port 80 by default. No sure what's happened to upset that, possibly you already had an HTTP service running on the machine when apache tried to install. You can fix/unset this in /etc/apache2/ports.conf or somewhere nearby. Can also be over-ridden in the sites-enabled/ setting on a host basis.
Even with or without that, it's not too hard to set up port forwarding on your domestic router to make external requests to :80 get served by yourserver:8080 ... on most router configs I've seen.
dyndns does not use or need to set ports, as ANY requests to that HOSTNAME on any port get forwarded to the external IP of your ROUTER. Only then, settings at the router decide which PORTs it actually responds to, and what it does with those requests. You can forward, all, nothing, or just port 80 through to your internal machine.
.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |
.dan. is the New Zealand Drupal Developer working on Government Web Standards