2. You can test whether the installed openerp works normally. Pay attention to whether port monitor is normal when openerp and eTiny are started. Now assume that ports 8070 and 8080 are unoccupied and working normally.
3. Now suppose you want to use'' (or demo.mydomain.com, if the domain name is bound) to access eTiny. For the server, it is to redirect demo.YourAccount.webfactional.com's access to YourAccount.webfactional.com:8080, which is what we usually call a reverse proxy.
4. It should be noted here that when using the reverse proxy, we cannot arbitrarily specify the listening port number of the application server (8080 in the above example). In fact, Webfaction will specify an available port for us. We add a "custom application (listening port)" to the background application, assuming it is named openerp_demo. After the successful addition, the system returns a port number, assuming it is 2222, which means that the application openerp_demo will run and listen on port 2222. At this time, we can change eTiny's listening port from 8080 to 2222. At this time, openerp_demo in the background of the system is bound to our eTiny program.
5. Next, we need to set the domain. If you don't bind your domain to the web faction, the default background domain menu is only the domain name' youraccount.webfaction.com'. Click the Modify button and add a subdomain under it, such as demo, so that you have the subdomain demo.YourAccount.webfactional.com.
6. Now we need to redirect the "demo" request. Youraccount.webfactual.com' connects to the app' 'opnerp_demo'', and the connecting bridge is the website menu in the background of Webfaction. Add a website and select the demo you just defined. "youraccount.webfactual.com" in the subdomain, "openerp _ demo" in the site-app and "/"in the URL path. This completes the reverse proxy setup of OpenERP, and now we can visit your eTiny site through demo.YourAccount.webfactional.com.