JoomlaPack Website Move from a Godaddy Website Hosting account to GoDaddy Virtual Dedicated Server Account

I like playing with technology as a hobby, including virtualization, Web 2.0 technologies, networking, etc.   If you don’t know what Joomla, or Virtual Servers are – you can move on to the next post.

If you are using GoDaddy Website Hosting, you may want to upgrade to the more flexible GoDaddy Virtual Dedicated Server (VDS) service. The following steps are intended to provide guidance to how to use JoomlaPack to simplify the transfer.

  • Prepare a backup of the shared hosting site to be moved using JoomlaPack

  • In the VDS Master cPanel, configure and compile PHP to match the needs of your website applications, e.g. Multi-byte String Handling

  • In the VDS Master cPanel, create a new account (new virtual server) with the associated domain name <vdstargetdomainname>

    • If possible, if you have a xxxx.com domain, get another xxxx.net, xxxx.info of the same name and use that as the domain for the target VDS virtual server so you can keep the other site active while you do the transfer, then you can change the DNS records to point the old domain to the domain of the target VDS virtual server (and you can park the domain on top of the target VDS virtual server using the VDS Master cPanel) the old domain name once the transferred site is up and running

  • In the VDS Master cPanel, ensure the target VDS server’s root account <vdsrootuser> has “wheel” authorization to allow su for chown functions

  • On the target VDS virtual server make a .htaccess file with “Options All -Indexes” to turn off directory browsing by anyone while you are doing the install

  • Connect to the target VDS virtual server using SSH and use ftp to transfer the JoomlaPack backup archive to the target VDS virtual server public_html folder from the shared website hosting account

  • Upload kickstart.php to the target VDS virtual server into the public_html folder

  • In the target VDS cPanel, create the Joomla databases and associated database user/password, create any 3rd party databases and associated database users/passwords

  • Open your webbrowser http://<www.vdstargetdomain.xxx>/kickstart.php and restore files and databases per JoomlaPack restore instructions

  • SSH into the target VDS virtual server and “su”.

    • Update the owner and group of the files “chown –Rf <vdsrootuser>:nobody public_html”

    • Update permissions to 775 (or 755 if you apps will take it) using “chmod -R 0775 public_html

    • Selectively change permissions of folders according to the recommended Joomla security guidelines and as required by any installed Joomla 3rd party extensions

      • If you are using the JSN Imageshow Pro extension, you will need to ensure that WRITABLE (CHMOD 777) {joomla_root_folder}/modules/mod_jsn_imageshow_pro /jsn_imageshow_pro

  • Connect via webserver to the Joomla administrator back-end of the target VDS virtual server :

    • Update hard file paths in configurations of various Joomla extensions such a JoomlaPack and DOCMan

    • For non-Joomla applications, ensure you go to their configuration files (e.g. config.php) to change database name, database login info, root directories

    • Update any Joomla 3rd party extension license files that are linked to IP address

  • Check the target VDS virtual server php.ini configuration to ensure settings for upload_max_filesize match configuration needs for any Joomla 3rd party extensions such as DOCMan, e.g. upload_max_filesize = 8M

  • If you had SSL certificates on the original hosted shared site you will need to revoke the GoDaddy SSL certificate and generate a new one for the Master VDS cPanel. Also note that if you want to use https on the target VDS virtual server you will need to use a dedicated IP address for that VDS virtual server (rather then a shared IP with multiple hosted domains)

  • In the Master VDS cPanel, remove “wheel” privileges from your target VDS virtual server <vdsrootuser> account

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s