importing site so new server

Hi Guys,

I am importing my existing site to new server, its a combination of a custom cms and wordpress. its here at http://iradio.ie

So far i have created an account on new server uploaded the files there i think the next step is to create two databases and import the data in would that be correct according to this settings.php ?

<?
if ( !defined('BASEURL') ) define("BASEURL", "http://www.iradio.ie/");
if ( !defined('MYSQLSERVER') ) define("MYSQLSERVER", "localhost");
if ( !defined('MYSQLUSER') ) define("MYSQLUSER", "iradio_iradio");
if ( !defined('MYSQLPW') ) define("MYSQLPW", "sqlpasswordnotreal");
if ( !defined('MYSQLDB') ) define("MYSQLDB", "iradio_iradio");
if ( !defined('SERVERROUTE') ) define("SERVERROUTE", "/var/www/public_html/sites/site/");
if ( !defined('TESTINGSITE') ) define("TESTINGSITE", false);
$ip_address = 123;
if (isset($_SERVER["REMOTE_ADDR"])) $ip_address = $_SERVER["REMOTE_ADDR"];

$devIPS = array( '82.122.65.29', '79.140.211.206', '159.134.156.214', '37.157.0.2', '79.140.211.206', '37.157.0.2', '81.133.53.93' );

if ( in_array( $ip_address, $devIPS ) ) {
	if ( !defined('CACHEIT') ) define("CACHEIT", false);
	if ( !defined('SITETITLE') ) define("SITETITLE", 'iRadio');
}
if ( !defined('CACHEIT') ) define("CACHEIT", false);

if ( !defined('SITETITLE') ) define("SITETITLE", 'iRadio');

if ( !defined( "CLOUDFLARE" ) )	define( "CLOUDFLARE", "/" );
if ( !defined( "CLOUDFLARE_EMAIL" ) ) define( "CLOUDFLARE_EMAIL", "matt@hovr.co" );

?>

Open in new window


I have changed password here, basically i am wondering what my next step is? i am uploading it here

http://185.105.4.132/~jonathanduane/
jonathanduane2010Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KimputerCommented:
This is the answer for the Wordpress part (as I don't know which custom CMS you're using). For the most part, you are correct to restore the databases in the new location.

If the URL has changed for the Wordpress portion, you need to adjust it also in the database:
You have to get access to the database (phpmyadmin or similar).
Or edit the downloaded database before uploading it.
In the Wordpress database Options, edit the siteurl entry to reflect the new location.
0
KimputerCommented:
Since I don't know what your custom CMS is, I still can only guess.
For instance, IF it's just as advanced as WordPress, Joomla and such, I would:

-Backup/restore ALL files, WHOLE database. The new server is running ok, EXACTLY the same as before (with all the plugins, modules, settings etc intact). Only NOW will I do the update. There will be no DB problem during the update, as the update is designed to know about this.

Then again, maybe your custom CMS doesn't even upgrade properly. Still, I would go from old to new, and follow the upgrade manual, as that would tell you the proper procedure how to keep all the settings/modules/plugins intact.

If there's no documentation on it all, manually importing things is probably the only way.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.