Hello I'd like to deploy my website using Apache2, my domainname is www.hew-automation.be. I've already made a link from this domainname to my server's IP Address (http://220.127.116.11:8080/). I want to get rid of the port 8080 and also stop displaying the IP address in the browser.
I installed apache2, added following to /etc/apache2/sites-available/odoo.conf:
ServerAlias *.hew-automation.be // Use this if you want dbfillter on subdomain
CustomLog /var/log/odoo/odoo-access.log combined
Allow from all
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
Then enabled this with a2ensite, this without any errors.
This is my /etc/odoo-server.conf file:
admin_passwd = XXXX
db_host = False
db_port = False
db_user = XXXX
db_password = XXXX
addons_path = /opt/odoo/addons
logfile = /var/log/odoo/odoo-server.log
xmlrpc_port = 8068
Now whenever I surf to my IP-address http://18.104.22.168/, it always shows the default page of Apache2, what am I doing wrong here?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 5/13/16, 3:56 AM|
|Seen: 509 times|
|Last updated: 5/17/16, 4:03 AM|