Moving to new webhost

Discussion in 'Installation' started by aschechtman, Jul 9, 2008.

  1. aschechtman

    aschechtman Member

    Joined:
    Oct 31, 2007
    Messages:
    51
    I'm planning to move my website wtih amember to a new host - a VPS instead of a shared hosting package. Does anyone have experience with a migration to a new host? What's involved? Is this something aMember support needs to help with or is it simply copying over all the files?

    Any tips or words of wisdom are welcome.

    Andrew
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Backup files / Database..

    Issues you will find:

    1) configinc.php will need to be updated to reflect your new path
    2) .htacess files may need to be updated to reflect your new path
    3) your "protect folder" configuration, while not really important, will still show your old path to folders. You can kill two birds (#2 & #3) by fixing this
    4) Reprotect folders (CHMOD)
  3. aschechtman

    aschechtman Member

    Joined:
    Oct 31, 2007
    Messages:
    51
    Thanks. Good tips.
    Does any of this typically require help from the aMember HelpDesk?

    Andrew
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Hey Andrew, I've moved a couple of my clients in the past with no issues that require assistance from aMember.

    If you have any issues post here and one of us here can most likely help you through it.
  5. aschechtman

    aschechtman Member

    Joined:
    Oct 31, 2007
    Messages:
    51
    Cool. Thanks Skippy.

    My subscribers won't tolerate any downtime (well, maybe a little bit on a Sunday). When I make the move I'll need to make sure it doesn't bring everything screeching to a halt.

    A.
  6. getresults

    getresults Member

    Joined:
    Nov 1, 2006
    Messages:
    87
    If you are moving from one cpanel account to another, it can be done pretty easily, particularly if you have WHM access as part of your VPS.

    If you're moving from Plesk hosting to a different control panel such as Cpanel it can be a bit of a nightmare as you have to manually move every email account, database, script etc.

    If you have access to zone records on the DNS for your domain you can set your TTL (time to live) setting to 5 or 10 minutes 24 hours before you transfer the domain to the new hosting. This means that within 5-10 minutes of moving to the new web host all of your customers will start seeing the new website - no 24 hour downtime. Just remember to adjust your TTL back up afterwards.

    If you are looking for some (paid) assistance to moving your hosting as quickly and efficiently as possible, feel free to drop me a line. Email: phill at getresults.co.nz
  7. aschechtman

    aschechtman Member

    Joined:
    Oct 31, 2007
    Messages:
    51
    Phil,

    Thanks for the detailed response. Very helpful.

    Andrew
  8. crhannig

    crhannig New Member

    Joined:
    Jan 26, 2009
    Messages:
    1
    Can a migration be done without access to the original MySql database? We are currently in middle of moving our site to another host and the original web developer won't allow us access to the MySQL database. We can export and backup from the Amemeber Control panel.

    I hope that makes sense.
  9. momentumoptions

    momentumoptions New Member

    Joined:
    Jul 3, 2009
    Messages:
    3
    AuthorizeNet Won't work after Migration

    Hi,

    Our site was working fine and using both Paypal and Authorizenet AIM. (Plugin worked just fine.)

    We just completed migration to a new dedicated server. Everything is fine accept when I try to pay via Authorizenet. After I click the final pay button, a red box appears that simply says Failure: There is no specific error message. I logged in to Authnet and no data is even being passed to them, so it seems to be soemthing on the amember or server side.

    I have tried the following: Verified API and Trans IDs, test mode, 3 different real credit cards, deactivated and reactivated Authorizenet AIM plugin. Nothing has worked.

    Any ideas?

    - Eric Darby
  10. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Hey Eric, If you have SSH access to your account you may want to try and ping Authorize.net server from your dedicated server to make sure that you can actually communicate with their servers..
  11. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Also make sure that your new server have php with cUrl +openSSL support.
    You can check this in aMember CP -> Info
  12. rodweston

    rodweston New Member

    Joined:
    Jan 18, 2010
    Messages:
    3
    more webhost moving issues

    As I understand the process is as follows:
    (new webhost has cpanel; old webhost doesn't)
    make sure that the new server has php with cUrl +openSSL support
    Create the new MySQL database
    Move all my files to the new webhost without overwriting files
    Update .htacess files
    Use AMember admin to connect to the new database
    Update the Protect Folder configuration
    Reprotect the folders using CHMOD
    Export the data from the current AMember installation
    Import the data into the new installation
    Verify proper operation and payment interface is working
    Process complete?
  13. sc0tsman

    sc0tsman Member

    Joined:
    Nov 25, 2009
    Messages:
    119
    I was also thinking of moving to VPS as my current host has been down for 2 days now however I have not got a recent backup [yeh I know, silly me] would moving hosts retain all my old subscribers without backup?

    edit: 3 days now :(
  14. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    If your host is down- will you be able to transfer files/databases from it to the new host?

    David

Share This Page