Has anyone setup a second domain on Ultimate Edition yet?

If so, is it just a matter of putting the .htaccess file in the root directory of the second domain? Can the sites be hosted on different servers? What do I need to edit in .htaccess to make this work? I've been playing around a lot with the beta, but I'm still a bit stumped on how to go about doing this part.



I'm planning to buy Ultimate Edition, but I just need to make sure it's going to do what I need. Three stores, all 3 are unique domains.

[quote name='kellenw' timestamp='1327658572' post='130067']

If so, is it just a matter of putting the .htaccess file in the root directory of the second domain? Can the sites be hosted on different servers? What do I need to edit in .htaccess to make this work? I've been playing around a lot with the beta, but I'm still a bit stumped on how to go about doing this part.



I'm planning to buy Ultimate Edition, but I just need to make sure it's going to do what I need. Three stores, all 3 are unique domains.

[/quote] What hosting panel do you have?

Hello,



Setting up Ultimate storefronts on different domains doesn't require any .htaccess editing.



You just have to properly configure virtual hosts on Apache.



For example, you want 2 storefronts to reside on www.store1.com and www.store2.com.

Go to /etc/apache2/sites-available and create files store1.com and store2.com.

Each file should have content similar to this:





ServerAdmin webmaster@localhost

ServerName store1.com

ServerAlias www.store1.com

DocumentRoot /var/www/ultimate/



Options FollowSymLinks

AllowOverride All







Make sure DocumentRoot leads to where CS-Cart Ultimate is installed and ServerAlias is the same as defined in the Storefront URL in the admin panel for the respective storefront.



The storefronts can't be placed on different servers, because they share the same database.



If you have any questions, ask right away

Check out this KB post:

CS-Cart Documentation — CS-Cart 4.15.x documentation



It is useful if you use cPanel

Thanks for the information N1XUS and Kmolchanov! It's very helpful.



Is there a place to report bugs with the beta version? It appears that there is a session or cookie issue or something that is causing additional store fronts to revert to the main store front when both have been viewed in the same browser. The URL's remain correct for the secondary store, but the actual site displayed is the parent store. It appears that this does not happen if only a secondary store has been opened in the browser, but the moment you open the parent store, problems begin. For people who are running multiple stores with the same products, this could cause problems as people shop around for the best price or whatever, which could cause someone to visit multiple stores hosted under the same Ultimate Edition parent system, causing a lot of confusion.

Hi N1XUS,



I have a VPS account that I can setup multiple domain accounts on that uses Cpanel.

This must be a serious bug that cs-cart is not aware. I have multiple sites that that keeps going to one of the domain for the first click.

this is not a random type problem, some time goes to one of the domain for the first click and for the second click time, it is corrected

We have 5 live domains running from the same Ultimate store. We have not encountered any problems.



Like Konstantin said above, all one needs to do is change the vhosts file for each domain. If you service provider doesn't support you doing this then I would look for another hosting provider.

[quote name='dustundag' timestamp='1362500315' post='157039']

This must be a serious bug that cs-cart is not aware. I have multiple sites that that keeps going to one of the domain for the first click.

this is not a random type problem, some time goes to one of the domain for the first click and for the second click time, it is corrected

[/quote]



Are these set up as addon domains on the same Cpanel pointing to the same html document root?

Yes, same document root. Directories were set up to the different directories initially ,but now having the same shared directory, the problem still exist?

Did you check your apache config and make sure it was updated correctly when you updated the domains?

Where the domains or directories are doesn't make a difference. Ultimate doesn't use the other domain directories at all. All one needs is the vhost file that points the domain to the Ultimate location. And then in Ultimate tell what store number goes to what domain.



All the individual store files are under the stores directory in the main cs-cart install. Not one file will be written to the other domains directories.

Well, i now start thinking if this may be due to two ultimate servers that i used to have. I have recently shutdown one of them and shifted all domains the single ultimate server. But i am not quite sure as i was having similar issues before as well, but not as frequent as now?

Triplets, Thanks for your comments'. Are you using all domain under a single ip ?

Because I am using seperate ip for all sepearte domains and I have started thinking

that cs-cart ultimate may have a limitation of use for a single ip and may not

currently support dedicated seperate ip for each domain?

Cs-cart Storefront URL (?) help ? point out

"All the store front domain names must be associated with the same

IP-Address


[quote name='Triplets' timestamp='1362518363' post='157071']

Where the domains or directories are doesn't make a difference. Ultimate doesn't use the other domain directories at all. All one needs is the vhost file that points the domain to the Ultimate location. And then in Ultimate tell what store number goes to what domain.



All the individual store files are under the stores directory in the main cs-cart install. Not one file will be written to the other domains directories.

[/quote]

All mine have separate IP addresses, but use the same Name Servers.

Thanks Tiplets, Do You mean the dns store fronts as sub-servers under main server dns or sub-web front dns under the main store? (Rather than seperate dns records)



Name www.servera.com Address:xx.xx.xx.xx (Main Server wheras cs-cart is located, does not have to be a store)

Name www.store1.com Address: xx.xx.xx.01 (Main Store Front)

Name www.store2.com Address: xx.xx.xx.02 (Second Store Front)

or other servers under the main store

Name www.store1.com Address: xx.xx.xx.01 (Main Store Front)

Sub-dns

Name www.store2.com Address: xx.xx.xx.02 (Second Store Front)

We are using Network Solutions hosting. Each domain has a DNS similar to NS##.WORLDNIC.COM



Each domain does have a dedicated IP.



Our main server is also hosting the first store front.

Very Strange. I have asked to cs-cart support to confirm that multiple ip is possible. This is the reply, I have got as follows. So I understand currently cs-cart does not officially support multiple ip or may get complicated for the configuration , which makes it weak side for google wise.

Glad to hear that you have succeded it!









Thank you for your request.



Unfortunately, it is not possible. As it is told in the notification, all the storefront domain names must be associated with the same IP address.



Thank you.





Sincerely yours,

Pavel Zyukin

Technical support engineer

You need to edit your servers virtual hosts, so that all the seperate IP addresses use the same domains hosting (eg. /home/yourmainusername/public_html/ is used by XXX.XX.XXX.XX1,XXX.XX.XXX.XX2,XXX.XX.XXX.XX3, etc. Your host should be able to help you with this as settings will differ depending on your servers setup.

We already have our private server running with wmware , therefore have seperate mysql server (single shared database for ultimate), dns servers and store server.

We have seperate ip addresss but all other domains goes to the one of the store front at the first click . However we do not use plesk or cpanel as cs-cart examples. We use virtualmin based on sub-servers. I have now started thinking that the issue may be due to default httpd.default configuration , session , cache, sqlite , dns configuration or whatever its is?. Has any body used virtualmin with cs-cart ultimate based on multiple ip sites?

Thanks