Community mailing list archives

Re: Convert Port to string

Ermin Trevisan
- 11/02/2016 12:58:19

You can use the following module:

This way you can "hard code" the database name in your virtual host definition for whatever URL you would like to use.

On 02.11.2016 16:16, Hacene MEZIANI wrote:
Dear Community,

I'd like to know if it is possible to convert a port to string for exemple: port 8069 to string "entreprise 1", port 8070 to " entreprise2"...
I have one VPS with only one IP. and in this VPS i have installed two instances of Odoo 10.

-  ( for entreprise1 )
-  ( for entreprise2)

What I want to guet is: 

Thank you.

Post to:

twanda AG
Ermin Trevisan
Artherstrasse 19
CH-6318 Walchwil 
T    +41 41 758 1515
M    +41 79 208 7373