Moving site from sub domain

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
rickblackdog
Forum Members
Forum Members
Posts: 15
Joined: Thu May 31, 2007 3:12 pm

Moving site from sub domain

Post by rickblackdog »

Before implementing CMSmadesimple on to my actual site, I'd like to run a test on a sub domain.

Once I'm ready to put the site live, can I simply copy the files across to the main domain?

Just trying to leave as little down time as possible and make sure there are no bugs to iron out.  It'll also provide me with a testing environment
alby

Re: Moving site from sub domain

Post by alby »

rickblackdog wrote: Once I'm ready to put the site live, can I simply copy the files across to the main domain?
Yes, but before:
- backup db
- check permission folder updates and tmp
- new value for path and url path in config.php

Alby
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Moving site from sub domain

Post by RonnyK »

If you don't have to move, but just can rename the folder, f.e. "test.domain.com" to "www.domain.com", you  only have to change the config.php after the renaming.

Off course "Backing up" is a wise thing to do......

Ronny
Pierre M.

Re: Moving site from sub domain

Post by Pierre M. »

Clearing the cache may help too.
Pierre M.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Moving site from sub domain

Post by calguy1000 »

this will all work, assuming you haven't put any 'absolute' links into your pages.  If you have, well.... you'll have to fix them too.
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.
Post Reply

Return to “CMSMS Core”