Multiple Channels in Single Domain
-
https://bagisto.com/en/how-to-create-multiple-websites-in-bagisto/
I referred the guideline from link above, it shows how to have multiple channels in different websites (e.g: channel1.example.com, channel2.example.com).However I wish to make the channels in a single domain (e.g: www.example.com/channel1, www.example.com/channel2), any suggestion how to do it?
-
Hi @jc
as per your requirement, multi-channel on a single domain is not possible.
We recommend you to go to register with the single domain (example.com) and multi sub-domain (channel1.example.com) (channel2.example.com)
and follow this guide https://bagisto.com/en/how-to-create-multiple-websites-in-bagisto/ -
Hi @Vaishali-Agarwal, I was wondering if that guide could be updated to address SSL as well ? I'm confused as to how the channels work, as such:
-I understand it must be 2 domains ( 1.sld.tld and 2.sld.tld )
But, do I deploy bagisto in both domains pointing to different databases ? same database ? I understand one of the instances will drive the other ? ( ServerAlias )
And with SSL the alias ( from the article /how-to-create-multiple-websites-in-bagisto ) example becomes confusing.
Anyhow, please, would it be possible to point me to another article or document or advice just so I can understand how the channels are supposed to go.
Thanks in advance for your help ! -
Hi there,
If you are creating channels having subdomains, you can use wildcard SSL which will cover all the subdomains.
Also, if you are using same application with multiple channels then you do not need to create a separate database as it is the same application serving multiple domains.
ServerAlias directive is present just to tell the webserver to go to the specific application path (Document Root) .
If you want to know how to create free SSL , then you can this link also: https://bagisto.com/en/configure-ssl-for-tenant-domain-in-multi-tenant-saas-ecommerce-module/ -
-
-
@Vaishali-Agarwal,
I floowed what was told but still I don't see anything not so sure what went wrong.
Can you please help me out?
Thanks