# Webapplication runs on linux ubuntu server, but is useless looks weird

**URL:** <https://forum.radzen.com/t/webapplication-runs-on-linux-ubuntu-server-but-is-useless-looks-weird/16807>\
**Category:** Radzen Blazor Studio\
**Created:** [March 22, 2024, 10:09am UTC](https://forum.radzen.com/t/webapplication-runs-on-linux-ubuntu-server-but-is-useless-looks-weird/16807 "2024-03-22T10:09:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steinmetz](https://forum.radzen.com/letter_avatar_proxy/v4/letter/s/8dc957/32.png) [@Steinmetz](https://forum.radzen.com/u/Steinmetz)\
**Post date:** [March 22, 2024, 10:09am UTC](https://forum.radzen.com/t/webapplication-runs-on-linux-ubuntu-server-but-is-useless-looks-weird/16807/1 "2024-03-22T10:09:15Z")

</div>

Hi there,

I am running radzen blazor studio on a windows machine and I want to publish it on a ubuntu server. The result however looks stale, as if the radzen blazor components can not be found on the server. My procedure was as follows

Publishing the app via command line, since I cannot find a "linux-x64" option in the blazor studio.

dotnet publish -r linux-x64 --self-contained false

(I also tried the --self-contained true option with no avail)

Copying the files in the bin\Release\net8.0\linux-x64 folder to my /var/www/html/ folder. Executing the .dll file with the dotnet command on the server.

 ![image](https://forum.radzen.com/uploads/default/original/3X/0/3/0315c9ae651436b8360bab5d04d7472391d365ac.png)

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [March 22, 2024, 10:40am UTC](https://forum.radzen.com/t/webapplication-runs-on-linux-ubuntu-server-but-is-useless-looks-weird/16807/2 "2024-03-22T10:40:12Z")

</div>

The CSS and JavaScript files are not loading at the moment. This is why your application is not styled. Make sure the wwwroot directory is copied as well. You can use your browser's developer tools to check what the server response for CSS files is.

You can also use deploy to zip - it will create everything needed (but requires .NET to be installed on your server).

By the way our [online demos](https://blazor.radzen.com) are hosted on Ubuntu as well. We use [docker](https://github.com/radzenhq/radzen-blazor/blob/master/Dockerfile).

---

<div class="post-metadata">

**Author:** ![Steinmetz](https://forum.radzen.com/letter_avatar_proxy/v4/letter/s/8dc957/32.png) [@Steinmetz](https://forum.radzen.com/u/Steinmetz)\
**Post date:** [March 22, 2024, 1:09pm UTC](https://forum.radzen.com/t/webapplication-runs-on-linux-ubuntu-server-but-is-useless-looks-weird/16807/3 "2024-03-22T13:09:05Z")

</div>

Thank you for your quick response. There was no wwwroot directory, when I created the app via command line. I am using RBS now to publish the app, that works on my ubuntu server.
