How to use multiple domains with audio and video services

It is possible to operate audio and video services across multiple domain names with SSL support.

The below configuration steps will allow services to be accessed directly on either domain1.com or domain2.net, for example a Shoutcast or Icecast service could be accessed on both domain1.com:8000/stream or domain2.net:8000/stream.

Please note that it is not possible to access the MediaCP panel itself from the additional domains without further manual configuration. 

Firstly, ensure AutoSSL is already installed for domain1.com then run the following in SSH ensuring to first replace domain1.com with the MediaCP  domain and domain2.net with the second domain.

/usr/local/mediacp/certbot/certbot certonly \
--register-unsafely-without-email -d domain1.com -d domain2.net \
--agree-tos --standalone \
--preferred-challenges http-01 \
--config-dir /usr/local/mediacp/letsencrypt \
--non-interactive \
--keep-until-expiring \
--agree-tos \
--pre-hook=/usr/local/mediacp/certbot/pre.sh \
--post-hook=/usr/local/mediacp/certbot/post.sh \
--deploy-hook /usr/local/mediacp/certbot/deploy_wrapper.sh \
--expand;


Up to 100 additional domain names can be configured with AutoSSL (powered by LetsEncrypt) by adding additional "-d domainname.tld" to the command
  • AutoSSL, Domain Names
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Troubleshooting Facebook Stream Targets (NGINX-RTMP)

Troubleshooting steps for facebook stream target disconnect. Check abuse log to ensure no...

Troubleshooting Facebook Stream Targets (NGINX-RTMP)

Troubleshooting steps for facebook stream target disconnect. Check abuse log to ensure no...

AutoDJ -> Shoutcast Transcoder 2 (sc_trans v2) dj port 32kbps sounds terrible

With the latest release of sc_trans v2, there appears to be a bug (referenced here) causing low...

CentOS 6 & Debian - libstdc++.so.6: cannot open shared object file

Issue Shoutcast Server 2 will not start on CentOS 6 or Debian. When starting shoutcast server...

Creating a Relay Stream

Creating a Relay Server Create or Manage a shoutcast server. Select the Relay tab under the...