For migrating website from webhost1/2 (Solaris) to shared LAMP hosting platform, technical owners may reference to the following guide:

  1. Apply a new iHost account
    • Apply an iHost account with following information:
      • Select the option Migrate from webhost1/ webhost2
      • Suffix the DNS with -dev (e.g. when migrates www.ust.hk, input the DNS name "www-dev.ust.hk")
    • Details of the new iHost account will be sent to you within 2 working days.
       
  2. Files backup and migration
  3. Modify your php program or .htaccess file if necessary
    • Remove the line "#!/usr/local/bin/php" from php files if necessary.
       
  4. Modify database setup if necessary
    • If database is used on webhost1, it is required to change the connection setting of database host from webhost1.ust.hk to localhost. e.g. For WordPress users, it is required to modify the 'wp-config.php' and ensure the connecting database is localhost.
       
  5. Test all the web pages
    • Check and test if your new website works or not. Modify the webpages on your local hard disk and upload them to the server again if necessary.
       
  6. Schedule a day for switching
    • When the new site is ready, send an email to cchelp@ust.hk for DNS update
      e.g. changing alias “itsc.ust.hk” from webhost1.ust.hk to webhost5.ust.hk
       
  7. Check the website again after DNS is updated