Open the server Apps tab
Select the tutorial-vps VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.


Your Own URL Shortener — self-hosted PHP link shortener with stats, plugins, and a private/public API
Add your server credentials to Server Compass
Choose from our template library
Fill in settings and click Deploy
Use the YOURLS template in Server Compass to deploy a self-hosted URL shortener on your VPS, then verify the install page in a browser.
Select the tutorial-vps VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Use the template picker search to find YOURLS in the Server Compass template catalog.

Choose the YOURLS template. Server Compass fills the PHP web app, MySQL service, install URL, admin user, database credentials, and web port.

Confirm the app name and compose service. In this run, the app was named yourls-demo and used host port 4185.

Review the generated compose settings, confirm the YOURLS public URL and web port are correct, and click Deploy.

Keep the deployment modal open while Server Compass uploads the compose file, pulls the YOURLS and MySQL images, starts the containers, and verifies the stack.

After deployment finishes, return to the Apps tab and confirm the YOURLS app is marked Running with its application URL available.

Open the application URL in a browser. The YOURLS admin install page confirms the PHP app, Apache, and MySQL services are reachable and ready for first-run setup.

The YOURLS install page loaded successfully from the deployed container.
It deploys the YOURLS PHP/Apache web app plus a MySQL database with a persistent yourls_db volume.
The tutorial used host port 4185, which maps to Apache on container port 80.
Yes. On first run, YOURLS redirects to the install page, creates its database schema, and then lets you sign in to the admin dashboard.
No. The deployment guide should live on the YOURLS template detail page and be linked from the reusable template deployment docs page.
After deploying YOURLS with Server Compass, complete these steps to finish setup
Visit http://YOUR_SERVER_IP:{{PORT}}/admin/ and log in with YOURLS_USER / YOURLS_PASS
Update YOURLS_SITE to your real public URL (env var + redeploy) so generated short links use the correct hostname
Install any plugins under /var/www/html/user/plugins via volume mount or `docker compose exec`
(Optional) Put YOURLS behind Traefik/HTTPS and add a real domain via the Domains tab
Need help? Check out our documentation for detailed guides.
Common questions about self-hosting YOURLS
Simply download Server Compass, connect to your VPS, and select YOURLS from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
YOURLS requires a minimum of 256MB RAM. We recommend a VPS with at least 1024MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard YOURLS backup and restore procedures.
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest YOURLS image will be pulled and deployed with zero downtime.
YOURLS is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Open-source backend in a single file with realtime database, auth, and file storage

Open-source backend-as-a-service - self-hosted Firebase alternative

Open-source backend framework with dashboard

Full Supabase self-hosted with Kong, GoTrue Auth, Realtime, and Studio
Download Server Compass and deploy YOURLS to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass