Changing the Web Root of the Intranet Web Site in IIS (Railo)

Introduction

The purpose of this article to help offer guidance on modifying the web root for an existing intranet site. Making our suggested changes will allow end-users to type 'http://[domain name]' instead of 'http://[domain name]/intranet' when looking to access the intranet site.

As well, please note that this article assumes that the reader has remote desktop access to the intranet web server.

 

Instructions
The following steps will help you achieve the result described in the introduction above:
  1. Remote in to the intranet web server.
  2. Move the existing C:\Inetpub\wwwroot\WEB-INF\ directory into the C:\Inetpub\wwwroot\Intranet directory.
  3. If no web.config file exists under C:\inepub\wwwroot\Intranet, move the C:\Inetpub\wwwroot\web.config file in to the C:\Inetpub\wwwroot\Intranet\ directory.
    If a web.config file exists under C:\inepub\wwwroot\Intranet, edit this file and add any handler mapping entries in the  C:\Inetpub\wwwroot\web.config file.
  4. Restart Railo: Restart Railo Server service (if applicable) or terminate the java.exe process on the web server using Task Manager (this will take the site down).
  5. Open IIS Manager, expand the nodes in the left pane, right-click the Default Web Site node, click Manage Web Site > Advanced Settings. Change the Physical Path value to C:\Inetpub\wwwroot\Intranet.
  6. Restart site within IIS.
  7. Visit the Railo admin site by opening your browser and visiting http:\\[insert_new_domain_name_here]\railo-context/admin/web.cfm 
  8. Configure your Railo Mappings under 'Archives & Resources' within Railo Admin what should look similar to this - note that the Virtual for '/Intranet' is now set to '/' and the '/Intranet' mapping has been removed: mappings.jpg
  9. Visit the intranet using the new URL by typing 'http://[insert_domain_name_here]'.
  10. Navigate to admin > Setup > click 'update locations' to finalize this change.
Should you hit any issues, please email support@intranetconnections.com with information and/or screenshots related to the issue that you are encountering.

Referenced by:

Have more questions? Submit a request

0 Comments

Article is closed for comments.