Zen Cart Logo
Forums / General Questions / changing domain?

changing domain?

Locked

Views: 2,447

Results 1 to 20 of 26
This thread is locked. New replies are disabled.
25 Nov 2008, 2:49 PM
#1
rhaught avatar

rhaught

New Zenner

Join Date:
Nov 2008
Location:
New York City
Posts:
95
Plugin Contributions:
0

changing domain?

Do not know if this is possible but want to move from thefilmbunker.com/store to thefilmbunker.com

My host support said:In order to make the change that you're asking for, you would need to make sure that all the files associated are directly in the public_html directory and not in the subfolder named "store".

Is there an easier way to do this such as download the store folder to my FTP and reload it to the root web?

25 Nov 2008, 3:15 PM
#3
rhaught avatar

rhaught

New Zenner

Join Date:
Nov 2008
Location:
New York City
Posts:
95
Plugin Contributions:
0

Re: changing domain?

Mary,

Thanks for the link. In the root web can I just use the same name for the folder store or create a new one like movie to do this?

Also where are you in NYC? Sitting here in Mid-town East!:cool:

25 Nov 2008, 3:38 PM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: changing domain?

Right now, Mid-town West (only because we're on 5th).

If you are moving the files to the root, there is no folder name. You are moving all the Zen Cart folders and files to public_html (which is probably what your root directory is called). You can use the existing /store version as your test bed if you want to make changes to the look of the store without interrupting the live store. Just remember that you'll need a second database to do that.

25 Nov 2008, 4:33 PM
#5
rhaught avatar

rhaught

New Zenner

Join Date:
Nov 2008
Location:
New York City
Posts:
95
Plugin Contributions:
0

Re: changing domain?

afo:

Right now, Mid-town West (only because we're on 5th).

If you are moving the files to the root, there is no folder name. You are moving all the Zen Cart folders and files to public_html (which is probably what your root directory is called). You can use the existing /store version as your test bed if you want to make changes to the look of the store without interrupting the live store. Just remember that you'll need a second database to do that.

The store folder is located in public_html already from when I downloaded it through Fantastico via Cpanel. When I click on file manager in cpanel it shows Home Directory, Web Root (public_html/www), etc. Wouldn't I have to send it to the Home Directory to get it to go to the site?

25 Nov 2008, 4:39 PM
#6
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: changing domain?

As I understand it, you have Zen Cart installed in /store. That means it's NOT in the root directory. It's in its own folder (/store). To move Zen Cart to the root, you have to move the contents of /store to public_html.

For example, instead of having /store/admin, you'd have /admin. Instead of having /store/index.php, you'd have index.php.

25 Nov 2008, 5:50 PM
#7
rhaught avatar

rhaught

New Zenner

Join Date:
Nov 2008
Location:
New York City
Posts:
95
Plugin Contributions:
0

Re: changing domain?

afo:

As I understand it, you have Zen Cart installed in /store. That means it's NOT in the root directory. It's in its own folder (/store). To move Zen Cart to the root, you have to move the contents of /store to public_html.

For example, instead of having /store/admin, you'd have /admin. Instead of having /store/index.php, you'd have index.php.

Yes that is where I have it. So I have to move all the contents of store to public_thml or jsut specific files? Would copy it in cpanel or via FTP be easier?

25 Nov 2008, 7:15 PM
#8
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: changing domain?

You need to copy (or move) ALL the folders and files in /store in order for it to work. You also have to edit the config files (check the tutorial I posted earlier). It probably doesn't matter whether you use CPanel or FTP. Depending on your FTP client, you may have to download all the files to your computer and then upload them again.

25 Nov 2008, 7:35 PM
#9
rhaught avatar

rhaught

New Zenner

Join Date:
Nov 2008
Location:
New York City
Posts:
95
Plugin Contributions:
0

Re: changing domain?

Ok, have FileZilla already installed. Will create a folder on my desktop to download all the folders and files into. When that is done then will upload back into public_html. Will do once I get the freaking header taken care of.

So for example, go into store then includes/languages,english then transfer them to my computer then back to public_html.

25 Nov 2008, 7:43 PM
#10
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: changing domain?

Upload the entire includes folder to public_html. This isn't that difficult. The same folder and file structure you see in /store, you should see in public_html.

It may be simpler for you to install Zen Cart in your root directory (download the latest version, upload it to the root of your website and run zc_install). You can create a new database for the new installation. Later, you can copy any custom folders you created in your /store directory to the same folders in the root.

25 Nov 2008, 7:58 PM
#11
rhaught avatar

rhaught

New Zenner

Join Date:
Nov 2008
Location:
New York City
Posts:
95
Plugin Contributions:
0

Re: changing domain?

Downloaded all of the store folder onto computer. Will upload the includes folder soon. Need to go take care of the little one first.

25 Nov 2008, 8:12 PM
#12
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: changing domain?

Just uploading the includes folder isn't enough. You have to upload the entire contents of the store folder or it won't work.

Of course, little ones have priority. :smile:

25 Nov 2008, 8:16 PM
#13
rhaught avatar

rhaught

New Zenner

Join Date:
Nov 2008
Location:
New York City
Posts:
95
Plugin Contributions:
0

Re: changing domain?

Yeah, he just added two teeth the other day so not feeling too happy. Went to look for the Admin folder but can't find it now. What would make it disappear?

Wait found it in the editors folder.

25 Nov 2008, 8:40 PM
#14
rhaught avatar

rhaught

New Zenner

Join Date:
Nov 2008
Location:
New York City
Posts:
95
Plugin Contributions:
0

Re: changing domain?

Ok, actually the admin folder is gone. Can't find the Zen Cart Admin login. How do I correct this one?

And now get this error:Warning: The downloadable products directory does not exist: /home/thefil5/public_html/store/download/. Downloadable products will not work until this directory is valid.

25 Nov 2008, 8:44 PM
#15
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: changing domain?

Do you have an /admin folder in public_html?

25 Nov 2008, 8:46 PM
#16
rhaught avatar

rhaught

New Zenner

Join Date:
Nov 2008
Location:
New York City
Posts:
95
Plugin Contributions:
0

Re: changing domain?

afo:

Do you have an /admin folder in public_html?

Looked and see only cgi-bin and store

25 Nov 2008, 9:14 PM
#17
rhaught avatar

rhaught

New Zenner

Join Date:
Nov 2008
Location:
New York City
Posts:
95
Plugin Contributions:
0

Re: changing domain?

Copied the admin folder in editors to store. Now able to log in it seems. How would the admin folder get moved to there?

Mary
Thanks for all the help so far. Sorry for being such a pain with all of this.

The error message is for downloadable products which I do not plan to sell at all. How can I get rid of it for good?

25 Nov 2008, 9:17 PM
#18
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: changing domain?

For ease of use and for proper Web site maintenance, you should create the following on your personal computer.

C:\Web\public_html

Now download everything from your Hosting account 'store' directory into the above.

Once that is done you then upload all files/directories into your 'public_html' directory; same one as showing the 'cgi-bin' directory. Once you start the download / upload it will take 15 - 20 minutes each way. You can let the FTP program run by itself in case you need to do something.

Also, you will need to edit these two files:
includes/configure.php
admin/includes/configure.php

Remove any reference to 'store', save and upload into the 'public_html' directory.

Remember you can leave the 'store' directory as is. Nothing changes there and you are not deleting any files. After the new files uploaded you can compare in two Browser windows, to make sure things match. Only then is it safe to delete the 'store' directory and all files within it, from your Hosting account.

25 Nov 2008, 9:37 PM
#19
rhaught avatar

rhaught

New Zenner

Join Date:
Nov 2008
Location:
New York City
Posts:
95
Plugin Contributions:
0

Re: changing domain?

Website Rob:

For ease of use and for proper Web site maintenance, you should create the following on your personal computer.

C:\Web\public_html

Now download everything from your Hosting account 'store' directory into the above.

Once that is done you then upload all files/directories into your 'public_html' directory; same one as showing the 'cgi-bin' directory. Once you start the download / upload it will take 15 - 20 minutes each way. You can let the FTP program run by itself in case you need to do something.

Also, you will need to edit these two files:
includes/configure.php
admin/includes/configure.php

Remove any reference to 'store', save and upload into the 'public_html' directory.

Remember you can leave the 'store' directory as is. Nothing changes there and you are not deleting any files. After the new files uploaded you can compare in two Browser windows, to make sure things match. Only then is it safe to delete the 'store' directory and all files within it, from your Hosting account.

Just delete the files from the desktop instead of sending to the C://Web/public_html file? I am also guessing that I need to delete the home_html and home_css files that are already in the public_html directory as well.

25 Nov 2008, 9:44 PM
#20
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: changing domain?

I cannot advise about the files you mention as I do not know what those files are or where they come from.