Forums / Installing on a Linux/Unix Server / installing a second ZC

installing a second ZC

Locked
Results 1 to 7 of 7
This thread is locked. New replies are disabled.
09 Feb 2010, 16:20
#1
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Posts:
617
Plugin Contributions:
0

installing a second ZC

I am going to hope that I explain this clearly.
First I am a newbie!
I am terribley frightened of messing with my files in the cpanel so I chat with my host before I mess with things - they usually do it for me but I think they have gotten thing incorrect.

I would like to install a new zc in my space.
My original cart is under public_html

my server copied the cart into a folder inside public_html which (I think) it is not in the root directory. It is in a subdirectiory inside my first cart. Not good!(i think)

Due to my uneasiness with the cpanel I was able to get an older version(older in the sense that all my product and customers are not included) lets call it public_html.01 which is at the same level as my active one at public_html.

What I would like to do is jsut use this one - it is at the same level as the other. the security and the basic layout is the same all i would need to do is create a DB and change the product and some of the text and of course the config.

Newbie Q? Am I close? if I have multiple carts what should the name of the folder that would contain the 2 and third one be?
09 Feb 2010, 19:01
#2
mattymatt avatar

mattymatt

Zen Follower

Join Date:
Dec 2009
Posts:
234
Plugin Contributions:
1

Re: installing a second ZC

Right the first problem was that your original shop was under public_html so anyone going to

http://your_site.com/

would go straight into your shop. Then when a "new" version was installed is was put inside there so would have been accessed by

http://your_site.com/new_shop_folder

now the main issue is how you want people to visit your site. Although you have your fodler now at the level of public_html, no -one will be able to get to it because the webserver looks directly at public_html and won't skip up and then down again to your new shop (well it shouldn't).

Now probably you could ask your host to create a "symbolic link" to your new shop, this would be put inside public_html and would be something like "new_shop" so you would get back to the stage where you type in

http://your_website.com/new_shop

or the other way is to just move everything back inside your shop. The question really is what you want to do and how you want to access your two shops, after everything is moved into the right places, then the files to edit are admin/includes/confgure.php and includes/confgure.php which will need to know the domain name and folders on how to access the shop structure. "probably" the new shop has already been set to run from a subfolder of public_html. UNless you get a new domain name, then you are going to be doing either

http://your_shop.com/
http://your_shop.com/new_shop

or if you move the old shop to a subfolder of public_html then you would have

http://your_shop.com/old_shop
http://your_shop.com/new_shop

and you'd need to have a index.html in public_html telling people which shop to go to and a link. All of this is compicated by that you are probably using FTP which could be a big problem with file corruption. A Good solution could be to set up a new sub domain http://new_shop.your_shop.com in your cpanel and the point it to public_html01 and then edit those configure files.

Matt
09 Feb 2010, 20:17
#3
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Posts:
617
Plugin Contributions:
0

Re: installing a second ZC

what I will need is direct access to both shops via their domain name and not an addition.

so the orginal is
www...stitchnframeonline.com and the other should be
www...windflowergrove.com

otherwise customers will not be able to locate it conveniently.
09 Feb 2010, 20:21
#4
mattymatt avatar

mattymatt

Zen Follower

Join Date:
Dec 2009
Posts:
234
Plugin Contributions:
1

Re: installing a second ZC

you should in cpanel be able to point the domains to the right folders then edit the configure files and you'll be fine.
10 Feb 2010, 01:30
#5
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Posts:
617
Plugin Contributions:
0

Re: installing a second ZC

point uhmmmm?? can you be a bit more specific on how to accomplish this?
10 Feb 2010, 01:40
#6
mattymatt avatar

mattymatt

Zen Follower

Join Date:
Dec 2009
Posts:
234
Plugin Contributions:
1

Re: installing a second ZC

In Cpanel about half way down the page (well it is on mine by the bits are dragable) is a section called "Domains", you'll want either "add on domains" or "register new domain" and then you just point the domain name at the new shop by entering the folder, then edit the configure.php files to reflect the domain names and folders on your server like /home/public_htm01 depends on what services your host has given you and whether you've already bought the domain and if it's pointing to your webserver, there's video tutorials in my version of cpanel but alas I haven't watched them since I'm on a Linux home computer and they don't run.
10 Feb 2010, 02:06
#7
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Posts:
617
Plugin Contributions:
0

Re: installing a second ZC

I have checked with my server and I am already pointed.
Thank you.