Post by John R. » Thu Jun 06, 2019 8:46 am

I'm new to OpenCart. I have 2 stores setup in my OpenCart 3.x installation (store1 and store2). And, I had hoped to have two different domain names, and, pointing to these respective stores. However, it is not working and I am not sure how to configure it. Regardless of if I visit or, both domains point me to store1 (the default store in OpenCart).

Here are configuration notes. Please let me know what I am doing wrong (or if this is even possible on my shared interserver hosting plan).

DNS Settings: & have the same settings
Host: (Account type: 'Standard Web Hosting')
-'Main Domain' in cPanel
-Document Root: /public_html
(The directory where opencart is setup.)
-'Add on Domain' in cpanel
-Document Root: /public_html
(The directory where opencart is setup.)
OpenCart Settings (Version:
System > Settings
Store List
Store Name StoreURL
Store 1 (Default)
Store 2
define('HTTP_SERVER', '');
define('HTTPS_SERVER', '');
Last edited by John R. on Fri Jun 07, 2019 11:54 am, edited 1 time in total.



Fri May 31, 2019 2:29 am

Post by Cue4cheap » Fri Jun 07, 2019 10:42 am

Make sure you have the / at the end of the store url under admin / settings.

Also you may get some good info from this: viewtopic.php?t=27538


cue4cheap not cheap quality

Active Member


Fri Sep 20, 2013 4:45 am

Post by John R. » Fri Jun 07, 2019 11:53 am

Thank you Cue4cheap . I do have the trailing slashes (/) in the admin panel, but I realize I made a typo in my post. Thanks for pointing this out. I will update my post now to accurately reflect the fact that trailing slashes are present in the admin settings URLs.

Regarding the post, I actually ran across it yesterday while googling. I just went through it a second time but I think I did everything the same. I will 'triple check' tomorrow morning when my mind is fresh. That was nice of opencartisalright to take the time to post that for other users' benefit.



Fri May 31, 2019 2:29 am
Who is online

Users browsing this forum: No registered users and 8 guests