Solved

Help Needed Moving Joomla Site

Posted on 2013-01-18
8
312 Views
Last Modified: 2013-01-23
Hi all,

At the moment I have my website using Joomla on a windows server 2003 server running iis 6.

We have just purchased a new server Windows server 2008, so far the server just has 2008 installed, I need to move joomla and the associated sql databases to the new server.

Can anybody guide me into prepping the new server for joomla, and guide me into moving over.

John
0
Comment
Question by:pepps11976
  • 5
  • 3
8 Comments
 
LVL 28

Expert Comment

by:chilternPC
ID: 38799353
Once you have copied over the files and created the database  you only need to change the configuration.php file found in the root
for the server you need PHP and MySQL installing.
you need to create a MySQL and get the details - IP address, databasename,username and password
you need the path of where the website is going to be
use the following in a php file (say getpath.php) to determine the path:

<?php print $_SERVER['SCRIPT_FILENAME'] //tells the path of the file ?>

the string it returns you will need to use in the configuration file

first back up your existing joomla website files  and copy them up to the new server.

backup up your MySQL databased using a MySQL tool (several availalble I use http://www.mysql.com/products/workbench/)
once you have the backup file you can restore it to the new server using the same tool (restore instead of backup)

change the following lines of configuration.php on the new server:

public $host = 'xxx.xxx.xxx.xxx';
public $user = 'dbusername';
public $password = 'dbpassword';
public $db = 'dbname';

public $log_path = '<path got from above tool>\logs';
public $tmp_path = <path got from above tool>\tmp';

this should be ready to go - but to make sure try all fundtions such as adding extensions or change a menu item.
0
 
LVL 28

Expert Comment

by:chilternPC
ID: 38799355
forgot to say - you need to put getpath.php in the root folder of the new website anbd then run it.
0
 

Author Comment

by:pepps11976
ID: 38804573
Sorry may sound like a stupid question but what tool do I need to back up and restore???
0
 
LVL 28

Expert Comment

by:chilternPC
ID: 38804577
backup up your MySQL databased using a MySQL tool (several available, I use http://www.mysql.com/products/workbench/)
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:pepps11976
ID: 38804592
Ok I will give it a go,

Also does it matter that I am going from server 2003 iis 6, to server 2008 iis 7
0
 
LVL 28

Accepted Solution

by:
chilternPC earned 500 total points
ID: 38804593
MAybe an easier for the less experienced  would be to install the Akeeba backup solution for Joomla
it allows easy back up and transfer to another server see this link
https://www.akeebabackup.com

and another method -  here is a link to a tutorial on how to backup your Joomla site
http://www.siteground.com/tutorials/joomla15/joomla_backup.htm
0
 
LVL 28

Expert Comment

by:chilternPC
ID: 38804608
the IIS version should not make a difference - Joomla needs PHP and  MySQL and certain file permissions on the folders.  if you haven't installed PHP and MySQL see this link. for microsoft based servers:

http://www.microsoft.com/web/joomla
0
 

Author Comment

by:pepps11976
ID: 38804613
ok I will post back with results thankyou
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Change Joomla Logo Graphic This tutorial goes over the steps to change the Joomla Logo in the template you are using. For this example we will be assuming you are using the rhuk_milkyway Joomla Template which is installed by default. You will …
First of all, we will need Jumi component or Sourcerer plugin for this to work. We need either of these because the main focus here is custom development outside of the standard modules or articles within Joomla. You can find Jumi here...it's my …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now