This article describes how to create a storefront in CS-Cart and configure a hosting account with cPanel to support it.
You only need one CS-Cart installation to manage all your storefronts.
CS-Cart supports additional storefronts
We assume that you have already installed CS-Cart on the example.com website, and its web root directory on the server is /home/account_name/public_html.
If you do not see the + button, make sure that the All stores value is selected to the right of the company name in the top left corner of the page.
You can also select an existing store in the Copy existing store configuration section and tick the checkboxes of the entities (settings, layouts, languages, etc) that you want to copy to the new storefront.
The storefront will be created. To make the storefront easier to distinguish from the other storefronts at this stage, select a unique theme for it on the Design → Themes page.
The new storefront will be accessible by its URL only after you configure your hosting account.
It’s time to configure your hosting account in cPanel. Choose one of the following ways, depending on the Storefront URL you specified.
If CS-Cart is installed on a website (like example.com), and you want the additional storefront to be accessible via a web subdirectory (like example.com/store2), you only need to create that storefront in your CS-Cart administration panel. No other actions are required.
When you open http://example.com/store2 in your browser, you should see the appropriate storefront.
If CS-Cart is installed on one website (e.g., example.com) and its additional storefront should be accessible via a different domain name (e.g., store2.com), then the second domain name (store2.com) must point to nameservers of the first website (example.com). The second domain name (store2.com) must be added as an additional domain to the hosting account of the first website (example.com).
Follow the instructions below to set it up:
Once you have updated your nameservers, allow up to 48 hours for the new information to propagate through the Internet.
- New Domain Name - type the name of the domain which nameservers were changed at step 2, for example, store2.com (do not enter ‘www’ or ‘http://’ into the field).
- Document Root - when you click on this field, it should be filled with a cPanel suggested location automatically. Change it to public_html (taking into account that the home directory is /home/account_name), so that the different domain points to the directory with CS-Cart installed (/home/account_name/public_html).
If you receive an error from park wrapper stating that “the domain is pointed to an IP address that does not appear to use DNS servers associated with this server”, it may mean that: