Moving an Aptify Website

This topic describes the procedure to move an Aptify website from a source Aptify web server to a destination Aptify web server. This process can be used when a development website is complete and is ready to be tested.

This procedure assumes the following for the source and destination environments:

  • Both are on the same Aptify release.
  • Aptify Desktop client and web interface are fully functional in both.
  1. Backup the source database and restore it on the destination database using the Microsoft SQL Server Management Studio. 

  2. If the web interface JavaScript files have been modified in the source environment, perform the following steps on the destination server:

    This step is only required if JavaScript files have been modified, which is unlikely in a typical implementation. If you are skipping this step, proceed directly to Step 3.

     

    1. Copy the Aptify sub-folder from the source Microsoft Internet Information Services (IIS) environment to the destination IIS environment. 

      The Aptify sub-folder is the location where the Aptify website files are stored on the web server. This location is specified in the Website Location field during the installation process. The default installation path for the Aptify sub-folder is c:\inetpub\wwwroot.

      For the examples in the steps below, the name of the Aptify sub-folder is AptifyWeb533.

    2. In the <Aptify Sub-folder>\AptifyServicesAPI folder, open the web.config file for editing.

    3. Update the URL to match the destination environment's URL at the four locations shown in the example.

      Changing web.config URLs for the Destination Server
    4. Save and close the web.config file.
    5. In the <Aptify Sub-folder>\Aptify\script\Aptify\configuration folder, open the Aptify.Framework.Configuration.External.js file for editing.
    6. Update the URL to match the destination environment's URL at the three locations shown in the example.

      Changing Aptify.Framework.Configuration.External.js URLs for the Destination Server

    7. Save and close the Aptify.Framework.Configuration.External.js file.
    8. In the <Aptify Sub-folder>\Aptify folder, open the web.config file for editing.
    9. Update the database name to match the destination environment's database name at the location in the example.

      Updating the Database Name to Match the Destination Database

    10. Save and close the web.config file.
    11. In the <Aptify Sub-folder>\Aptify\ErrorContent folder, open the Error.txt file for editing
    12. Update the URL to match the destination environment at the location in the example.



    13. Save and close the Error.txt file.
       
  3. Restore or import the Aptify Licenses as needed for the destination database/environment. See Licensing Aptify Products for more information.
  4. Ensure that the ebizuser and aptifyuser accounts are in the destination system. If they are not available, use the User Administration wizard to add the ebizuser and aptifyuser accounts. See Creating User Accounts for details.

    Ensure that these users are active.

  5. Open the Authentication Providers service, found under the Web Services application. 
  6. Create an All Authentication Providers View in the service.

    All Authentication Providers View


  7. Open this view, find the Domain User (ID 2) and Domain User (with container) (ID 6) records, and open these records.
  8. Update these records to reflect the destination server.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.