Odoo Help


Install openerp v7 and a php website on the same VPS server

ThackerS (ts)
on 7/6/14, 9:13 AM 2,185 views

I have a VPS server. And i want to install on my VPS server, openerp V7 and my website (written in PHP).
After installation, i want to send data from my website to postgresql database of openerp e.g: send username from my website to a specific table name on openerp postgresql database).
Here is my questions:

1) How i can install openerp v7 and a website (written in PHP)  on the same VPS Server?
==> i want to run the website on: www.website.com
==> i want to run openerp on: openerp.website.com

2) I want to acces the openerp database with specific url e.g.

 i don't want to have openerp.website.com:8069/?db=mydb but mydb.openerp.website.com

3) How can i comunicate my website (written in PHP) and the database of openerp ? (Should i use xmlrpc web service ?)
Actually, i have no idea of how i can do my goal. Any ideas are welcome.


VPS server is one of best way to manage your website online. Everyone is aware of fact that in these fast pace of Internet it is required need to be updated. So it is important to website of your company. It is better to choose VPS hosting. Innovative Hosting Corporation is one of best medium which use to provide service of VPS server.


ThackerS (ts)
On 7/7/14, 5:25 PM



Bernard Tabalon
On 7/7/14, 4:20 AM

Use virtual host. If you're on a Apache HTTP server:

<VirtualHost *:80>
   ServerName openerp.website.com  
   ServerAlias openerp.website.com www.openerp.website.com
   ProxyPass / http://localhost:8069/
   ProxyPassReverse / http://localhost:8069/

<VirtualHost *:80>
    ServerName mywebsitewritteninphp.com
    ServerAlias mywebsitewritteninphp.com www.mywebsitewritteninphp.com
    DocumentRoot /var/www/myphpwebsite


Hi Bernard Tabalon. Thank you for your answer. I will test your script and will give you the result after. Otherwise, you know how i can resolve the question 2 ? See you.

ThackerS (ts)
on 8/20/14, 5:05 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 7/6/14, 9:13 AM
Seen: 2185 times
Last updated: 3/16/16, 5:43 AM