Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Changing domains post installation: effect database?

Changing domains post installation: effect database?

Locked

Views: 1,538

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
18 Jul 2008, 1:29 PM
#1
mancer avatar

mancer

New Zenner

Join Date:
Jun 2008
Posts:
42
Plugin Contributions:
0

Changing domains post installation: effect database?

Hello once again fellow Zenners!
I have a question about changing domains/hosts post installation. I know while you are setting up your ZC on a server you are writing certain specs to your CUSTOM/includes/configure.php I've recently attempted to move my ZC from my localhost to a real host. I've tried desperately to get my ZC rolling again and have been unsuccessful thus far so I am starting over (shouldn't take that long)

One wrench that I've encountered is that the host I'm using has supplied me with a temporary URL for development purposes until my domain resolves to their nameservers. I'm reinstalling on my new host, https://www.medialayer.net they've supplied me with the temporary URL: http://rome.medialayer.net/~ctgadmin/
ZC's URL is: http://rome.medialayer.net/~ctgadmin/shop (when you click this link the url tries to resolve back to http://rome.medialayer.net/shop you have to then add back in the /~ctgadmin/ before the shop URL to get to ZC. I'm not sure if this is due to my host setup or ZC... probably my host.)

As you can see none of the images or css is loading properly. My host can set up a subdomain upon request if needed... I am tempted to do so.

NOTE I just tried reinstalling ZC and this was at the bottom which may be the answer to my question.

Will me altering my configure file screw up my ZC's database ability to pull in product info from said DB? (Are they linked?) If I manually change the configuration file's temporary URL's from what they are now to a new one will the DB remain intact and fully functional?)

18 Jul 2008, 2:03 PM
#2
mancer avatar

mancer

New Zenner

Join Date:
Jun 2008
Posts:
42
Plugin Contributions:
0

Re: Changing domains post installation: effect database?

So I managed to fix the Images and Css problems messing with the configure file. Now I'm off to speak with the host about a possible subdomain. Still looking for an answer to the DB question. Thanks again!

20 Jul 2008, 11:03 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Changing domains post installation: effect database?

The database is not altered by changes you make to your configure.php files.

However, that said, you may want to note:
the following FAQ deals with moving from a test server to a live server: https://www.zen-cart.com/tutorials/index.php?article=99
and this one for moving between servers: https://www.zen-cart.com/tutorials/index.php?article=100

19 Aug 2008, 4:43 PM
#4
novachild avatar

novachild

New Zenner

Join Date:
Aug 2008
Posts:
3
Plugin Contributions:
0

Re: Changing domains post installation: effect database?

What did you tweak in the config files to make the images appear using the security cert? I'm having the same problem.