Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2466 มุมมอง

Hi,

I created a contact page on website and publish it with url https://example.com/contact.

How can I publish it with subdomain?

eg: https://contact.example.com

And if possible, how should I point the subdomain?


I am using odoo v15.

Thank!

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

One way of achieving this is to create a second website for contact.example.com that contains the contact form on the home page. You can check the Odoo documentation for more details:

https://www.odoo.com/documentation/15.0/applications/websites/website/configuration/multi_website.html

Make sure you setup a reverse proxy (e.g., Nginx or Traefik) to link multiple domain names to your Odoo server. You can check out my blog post on how to configure Traefik and Odoo to effectively set up multiple websites:

https://jortdevreeze.com/blog/odoo-2/a-comprehensive-guide-to-running-multiple-websites-in-odoo-6

I hope this helps!

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
5
ส.ค. 25
9835
Carrusel en sitios web แก้ไขแล้ว
2
ก.ค. 25
964
How to launch my website แก้ไขแล้ว
4
มิ.ย. 25
1091
1
มิ.ย. 25
1426
1
พ.ค. 25
1339