Video coming soon…

🎫 Setup osTicket — Self-Hosted Help Desk & Ticketing

Deploy osTicket, the world's most popular open-source help desk system for managing customer support requests, tickets, and SLAs.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install — osTicket help desk running in one command.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/support/osticket/osticket-ubuntu.sh
chmod +x osticket-ubuntu.sh
sudo bash osticket-ubuntu.sh

Tutorial Steps

1 Download & Run the Installer

The script installs Docker, pulls the osTicket and MySQL images, and starts all containers. osTicket will be available on port 80 ready for the web-based configuration wizard.

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/support/osticket/osticket-ubuntu.sh
chmod +x osticket-ubuntu.sh
sudo bash osticket-ubuntu.sh

2 Complete the Web Installer

Open your browser and navigate to the setup wizard. Configure the admin account and database connection to complete the installation.

http://<your-server-ip>:80/setup

3 Set Up Departments & Help Topics

Log in to the staff panel and organize ticket routing by creating departments such as Sales, Tech Support, and Billing. Add help topics so customers can categorize their requests at submission time, ensuring tickets land in the right queue automatically.

http://<your-server-ip>:80/scp

4 Create Email Integration

Connect a mailbox to auto-convert incoming emails into tickets. Go to Admin Panel → Emails → Emails and add your IMAP/POP3 mailbox credentials. Enable email fetching so every support email is automatically pulled in and turned into a trackable ticket with a unique ID.

Ports Used

PortPurpose
80Web UI & Staff Panel
3306MySQL database (internal)

Overview

osTicket is a widely deployed open-source helpdesk ticketing system. It converts customer emails, web form submissions, and phone calls into organized support tickets, routes them to the right agents, and provides a customer portal for tracking ticket status — all managed from a powerful admin dashboard.

Why Use It

Self-hosting osTicket eliminates Zendesk, Freshdesk, or Help Scout subscription costs while giving you complete control over ticket data, SLA policies, and integration workflows. It is trusted by thousands of organizations for managing support queues without per-agent monthly fees.

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              osTicket runs on port 80. Serve it via HTTPS on port 443 with a reverse proxy. Keep the customer portal and staff panel on the same domain. The MySQL database port must never be exposed publicly.

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    Alternatives include Zammad (modern UI, self-hosted), Freshdesk (cloud, freemium), Zendesk (cloud, popular), and Hesk (self-hosted, simpler). Choose osTicket for a mature, feature-rich self-hosted helpdesk with a large plugin ecosystem and zero per-agent fees.

                    When Not to Use It

                    Avoid osTicket if your team needs a modern, mobile-friendly UI — the interface looks dated. Zammad or Freshdesk provide a significantly better user experience. Also avoid for very simple needs — a shared email inbox may suffice for small teams.

                    PrismaTechWork Professional Help

                    PrismaTechWork provides end-to-end infrastructure services — from initial deployment and security hardening to ongoing monitoring, automated backups, and dedicated support. Whether you need a single-server setup or a multi-site network, our team ensures your infrastructure is built right, secured properly, and maintained reliably.

                      Contact Us

                      Frequently Asked Questions

                      How does email-to-ticket creation work?

                      Configure osTicket to poll a support email inbox via IMAP. When a customer sends an email to your support address, osTicket fetches it, creates a ticket automatically, and sends a confirmation to the customer with a ticket number. Replies to the confirmation update the ticket thread.

                      Can customers track their tickets online?

                      Yes. osTicket provides a customer-facing portal where users can submit new tickets via a web form and view the status of existing tickets using their email and a ticket number or account. This reduces repetitive follow-up emails from customers asking for status updates.

                      Does osTicket support SLA policies?

                      Yes. Define SLA plans with response and resolution time targets. Assign SLA plans to help topics or specific tickets. osTicket tracks SLA compliance and highlights overdue tickets in the agent dashboard. You can configure alerts when SLAs are approaching breach.

                      Can multiple departments use the same osTicket instance?

                      Yes. Create multiple departments (IT, Billing, HR, etc.) and assign agents to departments. Configure routing rules to automatically direct incoming tickets to the correct department based on the email address or form topic the customer selected.

                      Is there a canned responses feature?

                      Yes. osTicket supports canned responses — pre-written responses that agents can insert with one click when replying to common questions. Create canned responses from the admin panel and organize them by category for quick access during ticket replies.

                      Can osTicket send satisfaction surveys?

                      Yes, via a plugin. Install the Rating plugin to send automated satisfaction survey emails when a ticket is closed. Customers rate their experience and the ratings appear in the osTicket reporting dashboard.

                      Does osTicket have a knowledge base?

                      Yes. osTicket includes an FAQ and knowledge base module (called the Knowledgebase). Add articles organized by category that agents and customers can search. Customers are shown relevant knowledge base articles when submitting tickets to encourage self-service before creating a ticket.

                      How do I update osTicket?

                      Pull the latest Docker image, review the changelog for database migration requirements, stop the container, start the new container with the same volumes, and run any database upgrade scripts noted in the release notes. Always back up the database before upgrading.