We help IT Professionals succeed at work.
Get Started

importing site so new server

174 Views
Last Modified: 2015-10-14
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/
Comment
Watch Question
IT Manager
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE