Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > Configuring Staging and Production on Same Machine View modes: 
User avatar
Member
Member
Armysniper89 - 5/9/2011 8:52:38 AM
   
Configuring Staging and Production on Same Machine
I need to setup IIS to host both a production Kentico and a staging Kentico server. I am doing this right now in a Virtual Machine hosted locally on my developer box. Eventually I will use host headers in IIS to have both the staging.mycompany.com and www.company.com answer. Because I am not in the hosting facility currently, how can I set these servers up since I obviously cant use my company's IP addresses and host names. Is there no more elegant way than to set them up using different ports answering to localhost?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 5/16/2011 5:13:58 AM
   
RE:Configuring Staging and Production on Same Machine
Hi,

I assume you have two installations (web projects) of Kentico CMS. One is staging and second one is production.

In this case you can setup the IIS for these folders to have two separate web sites or web applications. One application/site can run under localhost and the other one under 127.0.0.1. Or, you can also setup the web site to run in subfolders, e.g. localhost/production and localhost/staging

Best regards,
Juraj Ondrus