Solved

Help Needed Moving Joomla Site

Posted on 2013-01-18
8
323 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 29

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 29

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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 29

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
 

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 29

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 29

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome Friends, This is the tutorial for how to create new simple module in joomla 1.5. In the module has two important files. One is XML file and another file is PHP controller file. First you need to create the XML file. (CODE) …
This is our step by step to setting up and configuring a Joomla Install on a Windows 2003 Server. This is the perfect solution for an Intranet Website using Joomla. What you need (only use the following versions) : A fresh copy of Joomla http…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 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