[web2py] Forwarding domain to a port

2012-01-12 Thread Najtsirk
Hi everybody,

I successfully instaled web2py on my VPS. However, I have problem to 
forward my domain to port 8000. I can access web2py at 
www.mydomain.com:8000/welcome. How can I  forward domain so that 
www.mydomain.com will actually show www.mydomain.com:8000/welcome?

Best,
Najtsirk


Re: [web2py] Forwarding domain to a port

2012-01-12 Thread Kenneth Lundström
A very simple way is to install Apache and use Apache as an proxy. Need 
about five rows in Apache config file to do this. I can send a copy 
little bit later if needed.



Kenneth


Hi everybody,

I successfully instaled web2py on my VPS. However, I have problem to 
forward my domain to port 8000. I can access web2py at 
www.mydomain.com:8000/welcome. How can I  forward domain so that 
www.mydomain.com will actually show www.mydomain.com:8000/welcome?


Best,
Najtsirk




Re: [web2py] Forwarding domain to a port

2012-01-12 Thread Ross Peoples
I actually just answered the same question the other day. See my last post 
in this thread: https://groups.google.com/forum/#!topic/web2py/PjqPoHnNwu4

It explains how to use Apache as a proxy to forward requests from a 
specific domain to another computer or another port.


Re: [web2py] Forwarding domain to a port

2012-01-12 Thread Jonathan Lundell
On Jan 12, 2012, at 4:48 AM, Najtsirk wrote:

> I successfully instaled web2py on my VPS. However, I have problem to forward 
> my domain to port 8000. I can access web2py at www.mydomain.com:8000/welcome. 
> How can I  forward domain so that www.mydomain.com will actually show 
> www.mydomain.com:8000/welcome?
> 

mod_proxy (as others have pointed out) will do what you ask, but why not just 
have web2py listen on port 80?

Re: [web2py] Forwarding domain to a port

2012-01-14 Thread Phyo Arkar
nginx will do the trick!

On Thu, Jan 12, 2012 at 10:13 PM, Jonathan Lundell wrote:

> On Jan 12, 2012, at 4:48 AM, Najtsirk wrote:
>
> I successfully instaled web2py on my VPS. However, I have problem to
> forward my domain to port 8000. I can access web2py at
> www.mydomain.com:8000/welcome. How can I  forward domain so that
> www.mydomain.com will actually show www.mydomain.com:8000/welcome?
>
>
> mod_proxy (as others have pointed out) will do what you ask, but why not
> just have web2py listen on port 80?
>