Hello,
Multi website in odoo 14 is working after configuration of below steps:
1. You must configure website domains for all websites, in my example I have website1 and website 2, I gave test1.com and test2.com to website respectively.

2. in directory /etc create file with name "hosts" and paste below content in that file

127.0.0.1 localhost test1.com test2.com
127.0.1.1 erp
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
3. setting for nginx, you must have site-available and site-enable with your domain:
in my example I have test.com file created on /etc/nginx/sites-available/, Please create file and paste below content in that file.

upstream odootest {
server 127.0.0.1:8069;
}
server {
listen 80;
server_name test1.com test2.com;
location / {
proxy_pass_header Server;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_connect_timeout 600;
proxy_read_timeout 600;
proxy_pass http://odootest;
}
}
4. Relead nginx and try to browse with test1.com or test2.com.
Thanks & Regards,

CandidRoot Solutions Pvt. Ltd.
Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015