Set Multi Channel using subdomains
-
Hello there, I have the bagisto site at abcdef.com and I created 2 sub domains us.abcdef.com and india.abcdef.com.
I have hosted the site on shared hosting server. (that means I don't have access to conf file). So, how I can mimic multichannel. Can I use .htaccess to achieve this? or shall I copy some files to those sub folders to achieve this?
Please let me know.
Thanks in advance -
Hi Sajanojha,
1- First you have to check your DNS configuration, that wildcard subdomain record is configured there or not
Like ( *.abcdef.com ) configuration should work.2- If you are using shared hosting, then you must have cpanel or pleask or similar web console.
In Cpanel, you can go to subdomains setting and create a wildcard subdomain for your main domain.
After that it will work.You do not need to create any sub-directory or any change in the .htaccess file.
Thanks and Regards,
Areeb Ali
IT Cloud Engineer
Webkul -
Thanks, Areeb,
I didn't understand step 1.
2. Yes, I created a wildcard subdomain. So shall I remove us.abcdef.com and international.abcdef.com?
Still, I am having issues.
Can you please help me out?
Here is my screenshot
Thanks -
Also here is the screenshot for my subdomain configuration?
Is it correct?
Thanks -
Hello again,
Here are all the screenshots of my conf in cpanel and also in bagisto channel.
when I hit international.voguishglance.com, I am redirected to voguishglance.com/public and
same for us.voguishglance.com. I don't see any difference (like categories, products). They are the same.
It doesn't work yet, can you please let me know what I am missing?Thanks
Img1 : Subdomain
Img 2
DNS configuration
Img 3
Multi Channel setup
-
@sajanojha said in Set Multi Channel using subdomains:
shall I remove us.abcdef.com and international.abcdef.com?
Yes, you can remove us.abcdef.com and international.abcdef.com .
The document root of voguishglance.com and *.voguishglance.com should be same else it will not work because main domain or any sub domain should access the same code.
Regards,
Areeb Ali
Team Webkul -
All the information that you have mentioned looks aligned to me. However, multichannel doesn't work for me. Can you help me out?
Thanks -
@sajanojha
it seems all the possible solution has been already provided here.
If you still getting the issue, Kindly raise your support ticket to bagisto team here https://bagisto.uvdesk.com/en/customer/create-ticket/