What is the diffrence between Web2py local host and Apache local host (wamp server)

28 views
Skip to first unread message

Sandeep Patel

unread,
Nov 30, 2017, 1:46:13 AM11/30/17
to web2py-users

Hello Everyone,

I hosted my  web2py on AWS ec2 and Connected it with AWS RDS and ran web2py server (0.0.0.0:8000) locally. This provided me a global access. Now, I am curious as to what would have been the difference if i chose to host my web2py app on Apache local host (wamp server). Would greatly appreciate quick reply

Dave S

unread,
Nov 30, 2017, 3:47:35 PM11/30/17
to web2py-users


On Wednesday, November 29, 2017 at 10:46:13 PM UTC-8, Sandeep Patel wrote:

Hello Everyone,

I hosted my  web2py on AWS ec2 and Connected it with AWS RDS and ran web2py server (0.0.0.0:8000) locally. This provided me a global access. Now, I am curious as to what would have been the difference if i chose to host my web2py app on Apache local host (wamp server). Would greatly appreciate quick reply
 

The web2py team recommends against Apache these days, and prefers nginx.  I am running nginx on an EC2 instance, and it's not particularly difficult.  You can almost use the scripts in the web2py directory, but you have to mix-and-match ... AWS Linux is a lot like RedHat/Centos 7, but with the service model of Ubuntu.  I am "any day now" going to post gory details, but even being a complete noob to nginx (and insisting on reading nginx documentation, not just parroting the quick-start) I got going pretty quick.  I had been running Rocket on that system, and continued to do so until I got an issue with it after a cert renewal.

/dps

Reply all
Reply to author
Forward
0 new messages