Deploying Kentico to a live server

When you need to deploy a Kentico website to a remote hosting server, install Kentico on the server and then import your website to the installation:

  1.   Install Kentico on a remote server
  2.   Deploy an already developed website to a live server

Tip: You can also use the Visual Studio Publish function to deploy your website.

Installing Kentico on a remote server

To install Kentico on a remote server:

  1. Run the Kentico Installer on your local development computer.

  2. Check the license agreement and select the Custom installation option.

  3. Switch to the Installation type tab.

  4. Select Prepare for installation on a remote server.

  5. Choose a folder for the project files (for example, C:\Temp\Kentico).

  6. Select the .NET Framework version of the remote server.

    Installation on a remote server

  7. Click Install.

    • The Installer copies the project files to the specified folder.
  8. Copy the web project files from your local folder (C:\Temp\Kentico) to the root of the website using FTP.

 Kentico is now installed on your remote server. Continue to the next section to deploy a website to the server.

Deploying a website to a live server

After you have installed Kentico on a live server, you can import an already developed website:

  1. Open the Sites application on your local development computer and click Export site () next to the site that you want to deploy.

  2. Enter the name of the export package and go through the site export wizard.

    • The system saves the export package into the <web project>\CMS\CMSSiteUtils\Export folder.
  3. Copy the exported package into the <web project>\CMS\CMSSiteUtils\Import folder on the live server.

  4. Open a web browser and navigate to the /default.aspx page of your live server.

  5. Go through the wizard and create a new Kentico database on your live server.

    • At the end of the process, you may be asked to update your web.config file manually – please follow the instructions on the screen.
  6. At the end of the Database Setup Wizard, choose to import your existing Kentico website (from the previously exported package).

The system imports the existing website.

After you have imported the website, you may need to adjust its configuration:

  1. Open the Sites application. Edit the website and make sure the website domain and domain aliases are configured correctly for the production domains.
  2. Open the Settings application and make sure your site settings contain correct values, especially the SMTP server value in the System -> E-mails section.
  3. Open the Sites application. Click Open live site () next to your new site and make sure the website is displayed correctly.