Installation and deployment
Version 7.x > Installation and deployment > How to Deploy Kentico CMS 7 website from Dev server to Live Server (Windows Server 2012) View modes: 
User avatar
Certified Developer 8
Certified Developer 8
ashish.narnoli12-gmail - 3/15/2013 9:41:42 AM
   
How to Deploy Kentico CMS 7 website from Dev server to Live Server (Windows Server 2012)
Hi,
I made an Website in Kentico 7 on Development server, which is working fine. Now, i need to deploy this website on Live server (platform Windows Server 2012). For doing this, steps taken are:

1. Configure a domain (eg; mydomain.com) on IIS
2. Create a virtual directory within this domain (eg; mydomain.com/myvirtualdirectory)
3. Copied the entire CMS site into newly created virtual directory.

Now, When i try to browse the website through www.mydomain.com/myvirtualdirectory, the home page is showing but it does not reflect any image and javascript effects.

One more point, for all the other pages, the browser showing mydomain.com/PageName.aspx instead mydomain.com/myvirtualdirectory/PageName.aspx

I am very new to Kentico and a little confused. Kindly guide me

Thank you,
Ashish Narnoli

User avatar
Member
Member
Accepted solutionAccepted solution
kentico_sandroj - 3/15/2013 6:22:14 PM
   
RE:How to Deploy Kentico CMS 7 website from Dev server to Live Server (Windows Server 2012)
Hi Ashish,

Have you tried using the settings described in the "Deployment to the live server" document found in the developers guide? If not, it may be helpful to review it: http://devnet.kentico.com/docs/devguide/deployment_to_the_live_server.htm

You may not need to use virtual directories if your project file is in the root folder; more information can be found here: http://devnet.kentico.com/docs/devguide/multiple_web_sites_on_a_single_domain.htm

Additionally, you may find more information on how the Kentico URL rewriting engine functions here:
http://devnet.kentico.com/docs/devguide/page_processing_and_urls_overview.htm

When you access www.mydomain.com/myvirtualdirectory and image/javascript fails to load, are you getting any errors?

Please let us know if you have any specific questions once you review these documents.

Best Regards,
Sandro Jankovic

User avatar
Certified Developer 8
Certified Developer 8
ashish.narnoli12-gmail - 3/18/2013 12:41:25 AM
   
RE:How to Deploy Kentico CMS 7 website from Dev server to Live Server (Windows Server 2012)
Hi Sandro Jankovic,

Thank you so much for your reply. Actually there was some file path issue which i figured out and fixed it. Now the website is running fine.

Anyways, it was my first deployment of kentico website. Really good experience. :)

Best regards!
Ashish Narnoli