From ec8e0ea596121efe960ccb40501b5b8c5c30608d Mon Sep 17 00:00:00 2001 From: root Date: Thu, 21 Apr 2022 17:58:11 +0200 Subject: [PATCH] [ADD] multi_website: add info to configure multiple domains X-original-commit: 324936c43e704d9facf1f811a97635de6adf080a --- .../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 cec8e77c28..9c20ba390f 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 ================================