Submit a ticketCall us

WebinarUpcoming Webinar: Should I Move My Database to the Cloud?

So you’ve been running an on-premises SQL Server® for a while now. Maybe you’ve moved it from bare metal to a VM, and have seen some positive benefits. But, do you want to see more? If you said “YES!”, then this session is for you, as James Serra will review the many benefits that can be gained by moving your on-prem SQL Server to an Azure® VM (IaaS). He’ll also talk about the many hybrid approaches, so you can gradually move to the cloud. If you are interested in cost savings, additional features, ease of use, quick scaling, improved reliability, and ending the days of upgrading hardware, this is the session for you.

Register now.

Home > Success Center > Web Help Desk (WHD) > WHD - Knowledgebase Articles > How to run WHD and Apache Tomcat on port 80

How to run WHD and Apache Tomcat on port 80

Table of contents

Updated: July 21, 2017

Overview

If you need Apache Tomcat to run on port 80, you can configure it to proxy requests to Web Help Desk on port 8081. This will make it appear as if the application is running on port 80.

Environment

  • All Web Help Desk versions

Steps

  1. Stop the Apache server.
  2. Log in to the Web Help Desk server as an administrator.
  3. Navigate to the WebHelpDesk directory.
    Apple® OS X: /Library/WebHelpDesk    
    Microsoft® Windows®: \Program Files\WebHelpDesk    
    Red Hat®/CentOS™/Fedora Linux: /usr/local/webhelpdesk
  4. Open the /conf directory. 
  5. Open the whd.conf file in a text editor (such as Notepad).
  6. Leave the DEFAULT_PORT value set to 8081.
  7. Set the URL_DEFAULT_PORT value to 80.
  8. Save and close the file.
  9. Log on to your Apache server using an SSH or telnet client.
  10. Enable the mod_proxy module in your Apache Tomcat installation.
    See Apache Module mod_proxy on the Apache website for details. 
  11. Locate the Apache httpd.conf configuration file.
    This file is typically located at /etc/httpd/conf/httpd.conf.
    See DistrosDefaultLayout for more information.
  12. Add the following lines at the end of your httpd.confApache configuration file.
    ProxyPass /helpdesk http://localhost:8081/helpdesk
    ProxyPassReverse /helpdesk http://localhost:8081/helpdesk
  13. Start the Apache server.

 

Last modified

Tags

Classifications

Public