I have a database, in that database is a website, but recently I also added another webite under that domain, but how dop I make it visible to the public, the provided link only refers to the main website, which provides another topic
This question has been flagged
Hi Daoland Healthcare,
In Odoo, your new website is not visible because your domain is still linked to the main website.
Odoo shows websites based on domain, and if no domain is set, it will always open the main one.
To fix this, you need to assign a separate subdomain to your second website.
Example:
yourdomain.com → main website
new.yourdomain.com → second website
Steps:
Create subdomain in DNS:
new.yourdomain.com → yourdatabase.odoo.com
In Odoo:
Website → Configuration → Settings
Switch to second website
Add domain:
https://new.yourdomain.com
Save and make sure it is published
After this, each domain will open its respective website.
Hope it will solve your issue.
Hello,
Yes, Odoo supports multiple websites, but additional configuration is required to make them publicly accessible.
Each website should have its own domain or subdomain mapping. If both websites are using the same domain without proper routing, only the main website will be displayed.
You can resolve this by:
- Assigning a specific domain/subdomain to the new website, or
- Configuring website routing rules to differentiate between them
Also, make sure the new website is published and not restricted.
Hope this works for you! Feel free to reach out for further discussion.
Regards,
Zehntech Technologies Inc.
The second website is not visible because the current domain is still mapped to the main website. In Odoo 19, each website in the same database must have its own domain or subdomain.
Please configure the second website as follows:
Create a subdomain in your DNS, for example:
new.yourdomain.com
Add a CNAME record for that subdomain pointing to your Odoo database address, for example:
new.yourdomain.com → yourdatabase.odoo.com
In Odoo, go to Website → Configuration → Settings, switch to the second website, and enter the new subdomain in the Domain field:
https://new.yourdomain.com
Save the settings.
After this, the main domain will continue to open the first website, while the new subdomain will open the second website. Odoo uses the Domain field to know which website should be shown when multiple websites exist in the same database.
For more detail information, please refer the below documentation:
Hope this helps.
Thanks!
Mohammed Umair
Hello,
I see your issue but this actually affect your main website. My client had a duplicate website on his website which is adding another website in the same website builder instead of creating another database but the problem can be solve if the domain don't go to the duplicate website but the default website which is the main website build from odoo in scratch and if your domain now gets to the duplicate website, its affect the visibility of your website on google because google won't identify which of the domain website is the correct and you ;lose your google visibility even if you do seo.
You can reach to me for more and i hope you find this helpful
Best regards,
Debbie
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
2
Apr 26
|
115 | ||
|
|
2
Feb 23
|
3620 | ||
|
|
1
Jun 18
|
5261 | ||
|
|
1
Oct 25
|
1612 | ||
|
|
0
Dec 22
|
2221 |
Hi Sangar, thank you for your reply. I am still new here and didn't see that option yet. I am going to try it out. Zehntech also thanks. when starting there are a lot of new principles to figure out. Mohammed also, thanks a lot for the link also, i had been searching the databases already for something like that. I have copied and pasted all your answers to have a reference when working it out further down the week. I am grateful. I hope to get back to you with confirming succes through your help.