I tried to setup opencart without using CPanel( Setting it up in CPanel can be done this way). I already have opencart(lets call it the main shop) running at < mydomain >.com What I did is the following:
- created a separate subdomain eg. shop2.< mydomain >.com,
- made the shop2 subdoamin point to the same ip as the < mydomain >.com (the main shop)
- created a virtual host(apache) for the shop2 subdomain and its document root point to the same as the existing main shop.
- Created a new store in opencart, and set the store url as shop2.< mydomain >.com ( With or without this step won't change my problem described below.
The problem is that shop2.< mydomain >.com now is exactly the same as < mydomain >.com , for example, if a product is disabled from the existing opencart, it is disabled from the shop2 as well.
Similar question is asked on the opencart forum but no answer has been provided.
My environment is: Ubunbu, Apache.
See Question&Answers more detail:os