跳至內容
選單
此問題已被標幟
1 回覆
5624 瀏覽次數

Hi, 

I run Odoo 12 on my local Server (Centos 7)

I make a subdomain in my domain provider (godaddy)  http://odoo.mydomain.com pointing to http://myip:8069

that works fine.

but all the links stayed http://myip:8069

so, Then I configure the subdomain to be forwarder with mask.

In the odoo local web site all the links works fine:

example:  http://odoo.mydomain.com/aboutus or  http://odoo.mydomain.com/contact.
But  http://odoo.mydomain.com/web/login  etc, doesn't work

I modify the parameter

web.base.url to  http://odoo.mydomain.com
and added web.base.url.freeze to True.

and still doesn't work.

What I missing.


Thanks a lot.


頭像
捨棄
作者 最佳答案

Hi,

I resolve this by my self.

So in case other people has the same problem I give the solution (very simple solution).


The Main mistake was use the Forwarder of godaddy to create the Sub Domain, or the Subdomain Option of Godaddy.

The way to do this is create manually the A record for the DNS, in the DNS Records table.

After that everything works fine.


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
2月 19
2722
0
11月 20
64
3
9月 25
143
0
9月 25
98
2
9月 25
215