Forums / Installing on a Linux/Unix Server / Moving site contents to different host, but keeping the same database?

Moving site contents to different host, but keeping the same database?

Locked

Started by yelow on 8 Feb 2009, 2:20 PM · Views: 2,072

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
8 Feb 2009, 2:20 PM
#1
yelow avatar

yelow

Zen Follower

Join Date:
Sep 2008
Posts:
115
Plugin Contributions:
0

Moving site contents to different host, but keeping the same database?

So, I'm moving the site from sub.domain.com to domain.com and it doesn't work out of the box just like that. I REALLY don't want to reinstall and repatch and remod and whatever...

Am I correct in understanding that I only need to change the values in /inclues/config.php and /admin/includes/config.php ?

I changed all the sub.domain.com entries to domain.com but upon loading the index.php it still prompts me for an install (but says it can go for an upgrade, so I must be doing something kinda right?)

DB stays the same, user/passes as well, just the physical (or probably logical) location of the files.

thanks,

-Tim

<!-- just commenting -->
8 Feb 2009, 2:31 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Moving site contents to different host, but keeping the same database?

Should like you may not have correctly adjusted the absolute paths to your site, also in the configure.php files.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

9 Feb 2009, 4:01 PM
#3
yelow avatar

yelow

Zen Follower

Join Date:
Sep 2008
Posts:
115
Plugin Contributions:
0

Re: Moving site contents to different host, but keeping the same database?

That's just the thing, I've not changed anything - the paths are the same because its on the root level of the same host! There aren't any paths to speak of.

Looks like I'm doing a full fresh install and using a different prefix, but then what?

/sigh

-Tim

<!-- just commenting -->
9 Feb 2009, 4:04 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Moving site contents to different host, but keeping the same database?

Are you saying that the subdomain and the domain mapped to the same location? Normally a subdomain maps to folder within the site.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

10 Feb 2009, 4:10 PM
#5
yelow avatar

yelow

Zen Follower

Join Date:
Sep 2008
Posts:
115
Plugin Contributions:
0

Re: Moving site contents to different host, but keeping the same database?

you know I'm not sure about that, is there any way for me to check?

like running a phpinfo?

I think I understand what you mean now. I have a user cp that I create the subdomain through, and it's like a whole 'nother virtual server, I can have different operating systems across subdomains and everything, it's not just a symbolic link. Although setting it up like that may solve a LOT of my problems with other stuff..

-Tim

<!-- just commenting -->