• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 328
  • Last Modified:

Help Needed Moving Joomla Site

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
pepps11976
Asked:
pepps11976
  • 5
  • 3
1 Solution
 
chilternPCCommented:
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
 
chilternPCCommented:
forgot to say - you need to put getpath.php in the root folder of the new website anbd then run it.
0
 
pepps11976Author Commented:
Sorry may sound like a stupid question but what tool do I need to back up and restore???
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
chilternPCCommented:
backup up your MySQL databased using a MySQL tool (several available, I use http://www.mysql.com/products/workbench/)
0
 
pepps11976Author Commented:
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
 
chilternPCCommented:
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
 
chilternPCCommented:
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
 
pepps11976Author Commented:
ok I will post back with results thankyou
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now