Odoo Help

Welcome!

This community 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.

1

DB Redirecting For Domain & Sub Domain ?

By
Aby
on 1/14/16, 12:09 AM 701 views


I have an instance (Ubuntu 14.04) in Amazon EC2

I have 3 domain names (in Big Rock)

like www.mycompany.com

      sub1.mycompany.com

      sub2.mycompany.com


And 3 Databases 

like mycompany

      sub1

      sub2

I have to redirect the domain name as

     www.mycompany.com : Home page of db-mycompany

     sub1.mycompany.com : Home page of db-sub1

     sub2.mycompany.com : Home page of db-sub2

     *redirect with out uname or pwd (direct to home page)

1

Ermin Trevisan

--Ermin Trevisan--
3548
| 6 3 7
Walchwil, Switzerland
--Ermin Trevisan--


Ermin Trevisan
On 1/14/16, 1:54 AM

Thanks #Ermin But lemme know is it mandatory to install apache.Actually im hosting in aws.So can we do this with out installing apache ?

Aby
on 1/14/16, 2:03 AM

You'll need a proxy server, for many different reason (such as port redirection from 8069 to 80/443 for example), but also for this purpose. This has nothing to do with AWS (we are also on AWS). There are several options for proxy servers: Apache, nginx are the most popular. Actually we are testing caddy server (www.caddyserver.com) because it seems to be quite easy and has inbuilt let's encrypt certification and automatic renewal. Please upvote my answer and check it as solved.

Ermin Trevisan
on 1/14/16, 3:17 AM

Can we solve it by editing in odoo-server.conf file ?

Aby
on 1/14/16, 3:25 AM

You might be able to achieve it without a proxy server by adding the proper host names in the host file together with the dbfilter parameter in the conf file (which is anyway needed, also if you deploy a proxy server). Check my amended answer.

Ermin Trevisan
on 1/14/16, 4:42 AM

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/14/16, 12:09 AM
Seen: 701 times
Last updated: 1/14/16, 2:00 AM