# How to Deploy AzuraCast With xCloud One Click Apps

> Deploy AzuraCast on xCloud from One Click Apps: create the first admin right away, set the Site Base URL, add music and start your web radio station.

You can run [AzuraCast](https://www.azuracast.com/docs/), a self-hosted web radio station, on your own server without writing a Docker Compose file. Click **New Site**, pick **AzuraCast**, choose a server and a domain, then click **Next**. xCloud installs the app and adds HTTPS. You then create the first admin account, add music and start the station.

**Who this is for:** anyone who wants their own internet radio station with playlists, an automatic DJ, listener stats and a public player page. For server sizes and prices, see [AzuraCast hosting on xCloud](/azuracast-hosting/).

## What you get

| Part | What you get |
|---|---|
| AzuraCast | Version 0.23.8, with the AutoDJ that plays your playlists. |
| Web address | The dashboard, public player and streams all use your domain over HTTPS. |

## Before you start

- An xCloud account that can create sites.
- An **Nginx** server. xCloud installs Docker on it if it isn't there yet. The install page recommends **2 GB RAM, 1 vCPU and 20 GB disk**. You can also create a new server during setup.
- For **Go Live**: a domain you can point at the server. For a first try, **Demo Site** needs no domain.
- At least one audio file to play.

## Step 1: Find AzuraCast in the app catalog

From the xCloud dashboard, click **New Site**. On **What would you like to host today?**, type **AzuraCast** in the search box, then click the **AzuraCast** card.

![The AzuraCast card in the xCloud app catalog after searching for AzuraCast](/_landing/docs/deploy-azuracast-with-xcloud-image-1.png)

**Expected result:** The AzuraCast page opens. It shows **Runs on Nginx, Docker**, the label **Recommended: 2 GB RAM · 1 vCPU · 20 GB disk** and **Installs v0.23.8**.

## Step 2: Choose where AzuraCast will run

Under **Where should it run?**, choose one:

- **To use a new server:** click **Deploy on a new server** and follow the server setup. xCloud creates and sets up a server for AzuraCast.
- **To use an existing server:** click its card, then click **Continue**. Each card shows the server's RAM, CPU and free disk.

![Click an existing server card under Where should it run? on the AzuraCast install page](/_landing/docs/deploy-azuracast-with-xcloud-image-2.png)

**Expected result:** For an existing server, the **Install AzuraCast Into** form opens.

## Step 3: Add the site title and domain

1. Enter a **Site Title**, for example `AzuraCast`. **Add Tag (optional)** helps you group sites.
2. Under **Domain Setup**, choose one:
   - **Demo Site:** xCloud gives you a test domain, shown under **Domain Name**. Click **Regenerate** for a different one.
   - **Go Live:** enter your own domain and point its DNS at the server.
3. Click **Next**.

![Choose the Demo Site option under Domain Setup in the Install AzuraCast Into form](/_landing/docs/deploy-azuracast-with-xcloud-image-3.png)

**Expected result:** The progress page opens.

## Step 4: Wait for the setup to finish

xCloud shows a progress page with each setup stage, from checking the server to finishing up. You can leave this page; the setup keeps running.

![The setup stages on the progress page while xCloud installs AzuraCast](/_landing/docs/deploy-azuracast-with-xcloud-image-4.png)

If a stage fails, open **Recent Events** on the site, click **View** on the failed event and fix what it reports. Then try again, or contact support with the event output.

**Expected result:** Every stage shows as done and the site appears in your site list.

## Step 5: Open AzuraCast and create the admin account right away

**Do this as soon as the setup finishes.** The first person to reach the setup page becomes Super Administrator, so until you finish this step anyone who opens your address can claim the station.

Open the site in xCloud and click **Visit Site**.

![The Visit Site link at the top of the site page in xCloud](/_landing/docs/deploy-azuracast-with-xcloud-image-5.png)

If the page doesn't load yet, wait a few minutes and refresh. On **AzuraCast First-Time Setup**, enter your **E-mail Address** and a **Password**, then click **CREATE ACCOUNT**.

![The E-mail Address and Password fields and CREATE ACCOUNT button on the AzuraCast First-Time Setup page](/_landing/docs/deploy-azuracast-with-xcloud-image-6.png)

**Expected result:** You are signed in and the **Create a New Radio Station** step opens.

## Step 6: Create your station

Enter a **Name**, for example `Demo Radio`, then scroll down and click **CREATE AND CONTINUE**. You can change the other settings later.

![The Name field on the Create a New Radio Station step](/_landing/docs/deploy-azuracast-with-xcloud-image-7.png)

AzuraCast makes a short name from it, such as `demo_radio`, and uses it in your station's addresses.

**Expected result:** The **System Settings** step opens.

## Step 7: Enter the Site Base URL

On **System Settings**, the **Site Base URL** field is empty. Enter your full address, for example `https://radio.example.com`, then click **SAVE AND CONTINUE**.

Leave **Use Web Proxy for Radio** turned on. It sends your streams through your HTTPS domain.

![The Site Base URL field on the AzuraCast System Settings step](/_landing/docs/deploy-azuracast-with-xcloud-image-8.png)

**Expected result:** AzuraCast saves the URL and opens the station dashboard.

## Step 8: Add music to a playlist

The station only plays files that are on a playlist. A new file isn't on one, so this step matters.

1. In the left menu, open **Media** → **Music Files**.
2. Click **SELECT FILE** and choose your audio files.
3. Tick the file, click **PLAYLISTS**, tick **default** and click **SAVE**. AzuraCast creates the **default** playlist with your station.

![The default checkbox and SAVE button in the open PLAYLISTS menu on Music Files](/_landing/docs/deploy-azuracast-with-xcloud-image-9.png)

**Expected result:** The file shows **default** in its **Playlists** column.

**Note:** AzuraCast's built-in SFTP upload isn't available on xCloud. Upload files in **Media** → **Music Files** instead. Each upload request can be up to 50 MB. AzuraCast sends music files in smaller parts, so most music files still upload.

## Step 9: Start the station

In the left menu, click **Start Station**. On **Update Station Configuration**, click **RESTART BROADCASTING**, then click **RESTART BROADCASTING** again in the dialog.

![The RESTART BROADCASTING button in the Restart Broadcasting card on Update Station Configuration](/_landing/docs/deploy-azuracast-with-xcloud-image-10.png)

**Expected result:** After a few seconds, **Overview** shows **On the Air**, with **Broadcasting Service** and **AutoDJ Service** both **Running**.

## Step 10: Share your station

On the station's **Overview** page, the **Public Pages** card lists your player page and the **Streams** card lists the stream address. Anyone can open them without signing in.

| What | Address |
|---|---|
| Public player page | `https://radio.example.com/public/demo_radio` |
| Stream for media players | `https://radio.example.com/listen/demo_radio/radio.mp3` |

![The Public Page row in the Public Pages card on the station Overview](/_landing/docs/deploy-azuracast-with-xcloud-image-11.png)

## Share the player on another website

To show your station on another website, link to your public player page, for example `https://radio.example.com/public/demo_radio`. An **Embed Widget** placed on another website may stay blank, so a link is the reliable way to share.

## What doesn't work on xCloud

- **DJ software that connects straight to the station can't reach it.** Use **Web DJ** in your browser instead. It works over your HTTPS address.
- **AzuraCast's built-in SFTP upload isn't available on xCloud.** Upload files in **Media** → **Music Files** instead. For the upload size limit, see the note in [Step 8](#step-8-add-music-to-a-playlist).

## Change settings

Open **Environment** in the site menu to change the app's settings, then click **Save & Redeploy**. Lines that start with `#` are optional settings, such as `LOG_LEVEL` and `PHP_MEMORY_LIMIT`. Remove the `#` to use one.

Your music and settings stay after a redeploy. Check **Overview** to see that the station is on the air.

Set up email in AzuraCast's own settings, not in **Environment**.

## Updates and backups

xCloud installs AzuraCast 0.23.8. Before you update, back up the app and read AzuraCast's release notes, then follow [update a One Click app and edit its Docker Compose](/docs/update-a-one-click-app-and-edit-its-docker-compose-in-xcloud/).

To protect your stations, see [back up and restore Docker apps](/docs/backup-and-restore-docker-apps/). Keep a copy away from the server, and test a restore.

## Server size

The recommended size is in [Before you start](#before-you-start). For more stations, check AzuraCast's own [requirements](https://www.azuracast.com/docs/getting-started/requirements/). Your music library decides most of the disk you need.

To move from a demo address to your own domain, see [manage One Click app domains](/docs/manage-one-click-app-domains-and-public-endpoints-in-xcloud/), then update **Site Base URL** in AzuraCast's settings.

## Frequently asked questions

### What server does AzuraCast need on xCloud?

An Nginx server with Docker. The AzuraCast install page in xCloud recommends 2 GB RAM, 1 vCPU and 20 GB disk.

### How do I share my station on another website?

Link to your public player page, for example https://radio.example.com/public/demo_radio. Anyone can open it without signing in. An Embed Widget placed on another website may stay blank, so a link is the reliable way to share.

If you run into any issues while deploying AzuraCast, feel free to reach out to our [support team](/docs/access-built-in-support-portal-in-xcloud/).
