Move site from sub domain to domain

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
herro
New Member
New Member
Posts: 4
Joined: Sat Oct 20, 2007 3:38 pm

Move site from sub domain to domain

Post by herro »

Hi,

I am going to move my CMS site from a sub domain to the domain.

Like so: subsite.domain.org to domain.org

The MySQL are the same with no changes. So my question are if is correctly understood that I only should make the changes in the config.php file or there are other places I need to changes the setting.

Hope the question is clear enough.

Br,
Henrik
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Move site from sub domain to domain

Post by calguy1000 »

Well, unless you've got absolute links in your content, you should only have to change one or two lines in the config.php, just the url lines because you're not moving files around are you?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
herro
New Member
New Member
Posts: 4
Joined: Sat Oct 20, 2007 3:38 pm

Re: Move site from sub domain to domain

Post by herro »

Hi,

Thanks for the reply.

On the web server I need to move the CMS files from one folder to another to get CMS in to the right domain. This is the ISP setup.

Example:

/www/subsite.domain.org/ to /www/domain.org/

Br,
Henrik
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Move site from sub domain to domain

Post by Dr.CSS »

FTP to site subdomain folder, download all files/folders to comp., go to main domain upload all files/folders, view/edit config.php and change all subdomain.domain URLs to reflect new path, save, upload overwrite old config.php...

You may have to change config.php chmod to 777 to make changes stick, then change back to 444...
Locked

Return to “[locked] Installation, Setup and Upgrade”