Solved

Help Needed Moving Joomla Site

Posted on 2013-01-18
8
318 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Joomla Articles with PDF 2 242
Website Email Link Cloaking with Joomla 6 195
Joomla 2.5 and .htaccess in LAMP environment 1 67
URL Redirection in Joomla 2.5 3 84
In the following article I will try to explain some of the issues I had learning Joomla and I hope this helps all of you beginners out there that love the concept but find it confusing and difficult to manage and configure a Joomla website. Like …
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

23 Experts available now in Live!

Get 1:1 Help Now