From 324936c43e704d9facf1f811a97635de6adf080a Mon Sep 17 00:00:00 2001 From: root Date: Thu, 21 Apr 2022 15:58:11 +0000 Subject: [PATCH] [ADD] multi_website: add info to configure multiple domains closes odoo/documentation#1843 Signed-off-by: Antoine Vandevenne (anv) --- .../websites/website/publish/multi_website.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/applications/websites/website/publish/multi_website.rst b/content/applications/websites/website/publish/multi_website.rst index b8108a4a4..86948186a 100644 --- a/content/applications/websites/website/publish/multi_website.rst +++ b/content/applications/websites/website/publish/multi_website.rst @@ -126,6 +126,15 @@ be redirected to the right website using GeoIP. .. seealso:: - :doc:`/administration/maintain/domain_names` +If you setup an extra website and specify the domain name you will have to +do three things to get this feature to work: + +#. Setup an A-record in the DNS configuration of your hosting provider so + that "www.mywebsite2.ext" is redirected to the IP of your Odoo instance. +#. Create an extra Nginx ``server`` block in which you set the + ``server_name`` that you've set in the :guilabel:`Website domain` field. +#. Reload and restart your Nginx instance to use the new ``server`` block. + Customize the visitor experience ================================