If this is your first visit, check our documentation. To post, register or login.
Forums / Installing Zen Cart / Installing on a Windows Server / Whether to Install in Domain or Sub-directory

Whether to Install in Domain or Sub-directory

Started by jolliejollie on 12 Apr 2015, 4:35 PM · Views: 1,918

Results 1 to 4 of 4
12 Apr 2015, 4:35 PM
#1
jolliejollie avatar

jolliejollie

New Zenner

Join Date:
Mar 2015
Location:
Hong Kong
Posts:
32
Plugin Contributions:
0

Whether to Install in Domain or Sub-directory

Hi. I prefer to have my store appear as soon as someone types my website address but I have a concern about installing Zen Cart in my doman. Would it make it harder for me to reinstall Zen Cart or restore a back-up version if I install Zen Cart in my domain (assuming I need to locate and delete the Zen Cart files first and there are other non-Zen Cart files in my domain (i.e. those that come along with my domain which should not be removed))? Or I can just easily uninstall Zen Cart without having to manually remove any files?

Are there any other factors I should consider when deciding whether to install Zen Cart in my domain or a sub-directory? Any disadvantages of installing Zen Cart in my domain and installing it in a sub-directory?

Thanks.

12 Apr 2015, 4:56 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Whether to Install in Domain or Sub-directory

I always recommend installing Zencart in the top domain directory. There seems to be some advantage to installing in a subdirectory when it comes to upgrading (which I'll admit I've never understood), but I think your store belongs in the top directory.

12 Apr 2015, 7:37 PM
#3
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Whether to Install in Domain or Sub-directory

stevesh:

I always recommend installing Zencart in the top domain directory. There seems to be some advantage to installing in a subdirectory when it comes to upgrading (which I'll admit I've never understood), but I think your store belongs in the top directory.

The top domain directory on ***some ***managed servers is a mess of files, folders and other unrelated distractions. So installing into a directory keeps the Zen Cart file set 'clean'.

There is also the matter of using the server for more than just a ZC install... keep your store in /store, keep your blog in /blog then then each type of website can remain contained.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

12 Apr 2015, 8:56 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Whether to Install in Domain or Sub-directory

twitchtoo:

There is also the matter of using the server for more than just a ZC install... keep your store in /store, keep your blog in /blog then then each type of website can remain contained.

Good point, but I'm thinking that, considering how cheap domain registration and basic hosting are, and considering how insecure most blog (in your example) platforms can be, separating your Zencart installation into its own domain seems prudent to me.