MediaCP Manual
    1. Getting Started
    2. Sales Questions
    3. Frequently Asked Questions
    4. Transcoder System Benchmarks
    5. Start your own streaming platform
    1. Change account currency
    2. Product Licensing
    1. Introduction
    2. Installation & Upgrade
      1. System Requirements
      2. Versions & Releases
      3. Installation
      4. Upgrading
      5. SSL Certificates
      6. Streaming Servers
        1. Nginx-Rtmp Video Server
        2. Wowza Streaming Engine
        3. Flussonic Media Server
        4. Video Feature Comparison
        5. Icecast 2 / Icecast KH
    3. Billing Integration
      1. WHMCS Integration Guide
      2. Clientexec Integration Guide
      3. Blesta Integration Guide
    4. Migrate from other software
      1. Migrate From Centovacast
      2. Migrate From AzuraCast
    5. Backup & Restoration
      1. Backup MediaCP
      2. Restore MediaCP
      3. Transfer to another server
    6. Administration
      1. Change MediaCP domain name
      2. Move media to another hard disk
      3. Secure your server
      4. Troubleshooting Login Errors
      5. Custom Facebook App
      6. Custom Web Service Configurations
      7. Reset Admin Password
      8. Port 80 / 443 Proxy
      9. MediaCP System Commands
      10. Admin Tools
    7. Scaling
      1. Scale with Wowza and CloudFront CDN
      2. Nginx-Rtmp with CloudFront CDN
    8. Troubleshooting
      1. Reporting Troubleshooting
      2. Troubleshooting Liquidsoap AutoDJ
      3. Video Relay Troubleshooting
      4. Grant access to support team
      5. Troubleshooting Wowza Streaming Engine
      6. FTP Troubleshooting
      7. MySQL Database Troubleshooting
    1. Introduction
    2. Administrators Dashboard
    3. System Configuration
      1. General
      2. Services
      3. Video Players
      4. Albums
      5. Email
      6. Plugins
      7. Statistics
      8. Backups
      9. Custom HTML
      10. Misc
    4. Customer Accounts
      1. Managing existing Customers
      2. Create a new Customer
      3. Deleting a Customer
      4. Send email to Customer
      5. Login as another Customer
      6. Reset Customer Password
    5. Reseller Accounts
      1. Reseller Plans
      2. Create a Reseller Account
    6. Media Services
      1. Creating a Media Service
      2. Deleting a Media Service
    7. Announcements
      1. Managing Announcements
      2. Creating Announcement
      3. Deleting Announcement
    8. Statistics
    9. Software Health
    10. Software Updates
    11. Email Templates
    12. API
    1. Introduction
    2. Audio Operation Manual
      1. Basics 101
      2. Station Overview
      3. Media Library
      4. Playlists
        1. General Rotation
        2. Jingles & Advertising
        3. Scheduling
        4. Repeat Protection
      5. Live DJ Connections
      6. Live Stream Recording
      7. DJ Manager
      8. Country Blocking
      9. Stream Proxy
      10. Stream Authentication
      11. Widgets & Links
      12. Reporting
    3. Video Operation Manual
      1. Basics 101
      2. Service Overview
      3. File Manager
      4. Scheduling
      5. Stream Targets
      6. Streaming to Your Service
      7. GeoIP Country Locking
      8. Widgets & Links
      9. Reporting
    4. Reseller Operations Manual
      1. Reseller Dashboard
      2. Customers
      3. Media Services
    1. Submit a feature request
    2. Wowza Custom Properties
    3. API Documentation
    4. Custom Domain Names
    5. Shoutcast 2 Admin Guide
    6. Wowza and Flussonic on same system
    1. Shoutcast 2 Premium
    2. Mount Points
    3. Managing Media Using FTP
    4. Shoutcast 2 Live Broadcasting
    5. DJ Priorities
    6. HTML5 Audio Player
    7. Broadcasting with AutoDJ
    1. Getting started with video streaming
    2. Live Streaming Overview
    3. TV Station Overview
    4. Ondemand Video Streaming
    5. GeoIP Country Locking
    6. VAST Advertising
    7. Relay & IP Camera
    8. Stream Recording
    9. Connecting your encoder
    10. Preparing Your Media Files
    11. Managing Media Using FTP
    12. Understanding Video Playlists
    13. Embedding player on your website
    14. Smooth Streaming and Content Transition
    15. Video Transcoding (Adaptive Bitrate Streaming)
    16. Image Logo or Watermark Overlay on Video Stream
    17. DVR Rewind
    18. Statistics
    19. Facebook Live Streaming
    20. Youtube Stream Publishing
    21. Twitch Stream Publishing
    22. Shoutcast 2 Stream Publishing
    23. Icecast Stream Publishing
    24. RTMP Stream Publishing
    1. Cloud Video Overview
    2. Admin Manual - Cloud Video
      1. Plans & Customers
      2. WHMCS Billing Provisioning Module
      3. Login to your cloud platform
      4. Dashboard - A First Look
      5. Branding your platform
      6. Team & Staff Members
      7. Activating VOD on Customer Plan
    3. User Manual - Cloud Video
      1. Login to your video platform
      2. First Look
      3. Creating a Channel
      4. Channel Overview
      5. Broadcasting
      6. Recording
      7. Fallback Video
      8. TV Channels - 24x7 UGC
      9. Video on Demand
      10. VOD Playlists
      11. Publishing
      12. Viewing Analytics
      13. Publish Zoom Meetings
      14. Advertising
      15. Restreaming IP Cameras
    4. Video Guide Series
    5. Streaming Best Practices
    6. Feature Comparison
    7. Roadmap & Release Notes
Migrate From AzuraCast

Last updated 3 months ago

There is not a migration script available for AzuraCast migration so customers and services must be moved over to MediaCP manually. 
To help with the transition you are able to keep the same streaming links after migrating using Nginx rewrite rules, we have a full guide for this here: https://www.mediacp.net/doc/admin-server-manual/administration/custom-nginx-php-configurations/#rewrite-rules-4

In the case of AzuraCast you can specifically use the following rewrite rule

    1. Create a new file at /usr/local/mediacp/nginx/conf.d/locations.custom
    2. Input the rewrite rules below:
        location ~ ^/radio//?([^/]+)/?([^/]+)? {
            set $stream_url https://127.0.0.1:2020/system/proxy.php?slug=$1&unique_id=$1&portbase=$1&mounturl=$2;
      
            proxy_buffering off;
            proxy_ignore_client_abort off;
            proxy_intercept_errors off;
            proxy_redirect off;
            proxy_next_upstream error timeout invalid_header;
            proxy_pass_request_headers on;
            proxy_set_header Cache-Control no-cache;
            proxy_set_header                User-Agent "$http_user_agent [ip:$remote_addr]";
            proxy_set_header                X-Forwarded-For $remote_addr;
            proxy_connect_timeout 5;
            proxy_read_timeout 15;
            proxy_max_temp_file_size 0;
            proxy_pass $stream_url;
            expires off;
            client_max_body_size 1M;
            tcp_nodelay on;
        }

             3. After saving the rewrite rules you will need to reload the nginx service by running this command:

/usr/local/mediacp/nginx/sbin/nginx -s reload

This will allow you to use links like /radio/8000/stream or /radio/servicename/stream and keep compatbility with your AzuraCast links.

Table of Contents