Creating a New IIS Server for Local Builds with ProteanCMS - Eonic/ProteanCMS GitHub Wiki
- You have a ProteanCMS project that is ready to be built.
- You have Host File Editor downloaded and installed. (Download Link)
- You have Internet Information Services (IIS) Manager downloaded and installed. (Download Link)
-
Open IIS Manager:
- Navigate to the IIS Manager.
- Right-click the
Sites
folder and select Add Website....
-
Configure the New Website:
- Enter the Site Name you have chosen for your localhost.
- Set the Physical Path to your
wwwroot
folder. Example:C:\HostingSpaces\[Projects]\[Solution]\wwwroot
. - Enter the Host Name for your localhost.
-
Finalize and Add Website:
- Verify that all information is correct.
- Click OK to add your website.
Your website should now be visible in the
Sites
folder within IIS Manager.
-
Add a New Application:
- Right-click the website you just created and select Add Application.
-
Configure the Application:
- In the Alias field, enter
ptn
. - Set the Physical Path to the
ptn
folder. Example:C:\HostingSpaces\ProteanCMS\V6_wwwroot\ptn
.
- In the Alias field, enter
-
Finalize and Add Application:
- Verify that all the information is correct.
- Click OK.
The application should now appear under the website you just created.
-
Open Host File Editor:
- Navigate to the Host File Editor application that you installed.
-
Add a New Entry:
- In a new row, under the IP Address column, enter
127.0.0.1
. - In the Host Name column, add the name of your localhost.
- In a new row, under the IP Address column, enter
-
Save Changes:
- Click Save to correctly configure your host file.
-
Set Up the Project in Visual Studio:
- Open the project you want to run locally in Visual Studio.
- Right-click on the website in your solution and select Set as Startup Project.
-
Run in Debug Mode:
- Start the application in Debug mode.
Your website should now launch and be accessible locally.