• Pricing
DashboardContact Sales
  • Blogs
  • Discover
  • Docs
  • Community
  • AgentBeta
⌘K

Over 80,000,000 Cloud Servers Launched

Over 80,000,000 Cloud Servers Launched

Cloud ComputeCloud GPUBare MetalFile SystemObject StorageBlock StorageManaged DatabasesCDNServerlessKubernetesContainer RegistryDirect ConnectLoad Balancers
RegionsAdvanced NetworkControl PanelOperating SystemsUpload ISO
Industry CloudOne-Click DeploymentUse Cases
Browse AppsBecome a Vendor
FAQDevelopers / APIsVultr DocsServer StatusBug BountyPromotionsSolution PartnersStart-Up Programs
Our TeamNewsBrand AssetsReferral ProgramCreator ProgramCareersSLALegalVultr Trust CenterContactYour Privacy ChoicesSubprocessorsAccessibility
Contact SalesSign Up

© Vultr 2026 | VULTR is a registered trademark of The Constant Company, LLC.

Terms of ServiceAUPDMCAPrivacy PolicyCookie Policy

In this Article

Deploy ASP.NET from Vultr MarketplaceInitial Server Setup and ConfigurationCreate and Deploy an ASP.NET ProjectConfigure Nginx as a Reverse ProxySecure the Application with Let's EncryptManage and Update the ApplicationConclusion
  1. Docs
  2. Articles & Guides
  3. Vultr Marketplace

How to Deploy Vultr's ASP.NET Marketplace Application

Guide4 min readUpdated 15 April 2026
0 comments
How to Deploy Vultr's ASP.NET Marketplace Application header image

ASP.NET is a cross-platform, high-performance framework developed by Microsoft for building web applications, APIs, and microservices. It includes features such as Razor Pages for streamlined server-side rendering, gRPC for fast inter-service communication, and minimal APIs for lightweight endpoints. Vultr's ASP.NET Marketplace Application provides a pre-configured ASP.NET environment, allowing developers to deploy and run .NET applications on Vultr servers.

This article explains deploying and using Vultr's ASP.NET Marketplace Application. You will set up an ASP.NET instance, create and deploy a sample application, configure Nginx as a reverse proxy, and secure the application with TLS certificates.

Deploy ASP.NET from Vultr Marketplace

  1. Login to your Vultr Console and click the Deploy Server button.
  2. Select your preferred server type.
  3. Choose a server location.
  4. Select a server plan as per your needs.
  5. Click the Configure Software button to proceed.
  6. Under Marketplace Apps, search for ASP.NET and select it as the Marketplace Application.
  7. Select the Limited User Login option under Additional Features to create a non-root user with sudo access.
  8. Review your configurations and click the Deploy button to start deployment.

Initial Server Setup and Configuration

  1. Create a DNS A record pointing to your server's IP address, such as app.example.com.

  2. Connect to your Vultr server instance via SSH with the credentials from the Server Information page.

  3. Verify the ASP.NET installation by checking the installed .NET SDK version.

    CONSOLE
    $ dotnet --version
    Powered by Vultr AgentBeta

    You should see the installed .NET version, such as 8.0.415 or similar.

Create and Deploy an ASP.NET Project

This section covers creating an ASP.NET web application.

Create an ASP.NET Application

  1. Create a directory for your application.

    CONSOLE
    $ mkdir ~/aspnet-app
    Powered by Vultr AgentBeta
  2. Navigate to the application directory.

    CONSOLE
    $ cd ~/aspnet-app
    Powered by Vultr AgentBeta
  3. Create a new ASP.NET web application using the .NET CLI.

    CONSOLE
    $ dotnet new webapp -n MyVultrApp
    Powered by Vultr AgentBeta
  4. Navigate to the project directory.

    CONSOLE
    $ cd MyVultrApp
    Powered by Vultr AgentBeta

Publish the Application

  1. Build the application in Release mode.

    CONSOLE
    $ sudo dotnet publish -c Release -o /var/www/aspnet-app
    Powered by Vultr AgentBeta

    This command compiles the application and outputs the files to /var/www/aspnet-app.

  2. Set the correct permissions for the application directory.

    CONSOLE
    $ sudo chown -R www-data:www-data /var/www/aspnet-app
    Powered by Vultr AgentBeta

Create a systemd Service

To ensure your ASP.NET application runs continuously and starts automatically on boot, create a systemd service.

  1. Create a new service file.

    CONSOLE
    $ sudo nano /etc/systemd/system/aspnet-app.service
    Powered by Vultr AgentBeta
  2. Add the following configuration.

    INI
    [Unit]
    Description=ASP.NET Web Application
    After=network.target
    
    [Service]
    WorkingDirectory=/var/www/aspnet-app
    ExecStart=/usr/bin/dotnet /var/www/aspnet-app/MyVultrApp.dll
    Restart=always
    RestartSec=10
    KillSignal=SIGINT
    SyslogIdentifier=aspnet-app
    User=www-data
    Environment=ASPNETCORE_ENVIRONMENT=Production
    Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false
    Environment=ASPNETCORE_URLS=http://localhost:5000
    
    [Install]
    WantedBy=multi-user.target
    Powered by Vultr AgentBeta

    Save and exit the file.

  3. Reload the systemd daemon to recognize the new service.

    CONSOLE
    $ sudo systemctl daemon-reload
    Powered by Vultr AgentBeta
  4. Start the ASP.NET application service.

    CONSOLE
    $ sudo systemctl start aspnet-app
    Powered by Vultr AgentBeta
  5. Enable the service to start on boot.

    CONSOLE
    $ sudo systemctl enable aspnet-app
    Powered by Vultr AgentBeta
  6. Check the service status to confirm it's running.

    CONSOLE
    $ sudo systemctl status aspnet-app
    Powered by Vultr AgentBeta

Configure Nginx as a Reverse Proxy

Install and configure Nginx as a reverse proxy to handle web traffic and forward requests to your ASP.NET application.

  1. Install Nginx.

    CONSOLE
    $ sudo apt install nginx -y
    Powered by Vultr AgentBeta
  2. Start the Nginx service.

    CONSOLE
    $ sudo systemctl start nginx
    Powered by Vultr AgentBeta
  3. Enable Nginx to start on boot.

    CONSOLE
    $ sudo systemctl enable nginx
    Powered by Vultr AgentBeta
  4. Allow HTTP traffic through the firewall.

    CONSOLE
    $ sudo ufw allow 80/tcp
    Powered by Vultr AgentBeta
  5. Allow HTTPS traffic through the firewall.

    CONSOLE
    $ sudo ufw allow 443/tcp
    Powered by Vultr AgentBeta
  6. Create a new Nginx configuration file for your ASP.NET application.

    CONSOLE
    $ sudo nano /etc/nginx/sites-available/aspnet-app
    Powered by Vultr AgentBeta
  7. Add the following configuration, replacing app.example.com with your domain name.

    INI
    server {
        listen 80;
        server_name app.example.com;
    
        location / {
            proxy_pass http://localhost:5000;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection keep-alive;
            proxy_set_header Host $host;
            proxy_cache_bypass $http_upgrade;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
        }
    }
    Powered by Vultr AgentBeta

    Save and exit the file.

  8. Create a symbolic link to enable the site.

    CONSOLE
    $ sudo ln -s /etc/nginx/sites-available/aspnet-app /etc/nginx/sites-enabled/
    Powered by Vultr AgentBeta
  9. Test the Nginx configuration for errors.

    CONSOLE
    $ sudo nginx -t
    Powered by Vultr AgentBeta
  10. Reload Nginx to apply the changes.

    CONSOLE
    $ sudo systemctl reload nginx
    Powered by Vultr AgentBeta
  11. Open a web browser and navigate to http://app.example.com to verify your application is accessible.

Secure the Application with Let's Encrypt

Secure your ASP.NET application with HTTPS using free TLS certificates from Let's Encrypt, managed by Certbot.

  1. Install Certbot and the Nginx plugin.

    CONSOLE
    $ sudo apt install certbot python3-certbot-nginx -y
    Powered by Vultr AgentBeta
  2. Set up a TLS certificate for your domain. Replace app.example.com with your actual domain name and admin@example.com with your email address.

    CONSOLE
    $ sudo certbot --nginx -d app.example.com -m admin@example.com --no-eff --agree-tos
    Powered by Vultr AgentBeta
  3. Certbot will automatically update your Nginx configuration to use HTTPS and install the TLS certificate.

  4. Verify TLS certificate auto-renewal by running a dry run.

    CONSOLE
    $ sudo certbot renew --dry-run
    Powered by Vultr AgentBeta
  5. Your ASP.NET application should now be accessible via https://app.example.com with a valid TLS certificate.

Manage and Update the Application

This section demonstrates how to make updates to your application and redeploy them.

Update and Redeploy the Application

To apply updates, make necessary code changes and redeploy the application.

  1. Navigate to your source code directory.

    CONSOLE
    $ cd ~/aspnet-app/MyVultrApp
    Powered by Vultr AgentBeta
  2. Modify the home page to verify the update process.

    CONSOLE
    $ nano Pages/Index.cshtml
    Powered by Vultr AgentBeta
  3. Replace the content with a simple update.

    HTML
    @page
    @model IndexModel
    @{
        ViewData["Title"] = "Home page";
    }
    
    <div class="text-center">
        <h1 class="display-4">Welcome to My Vultr App</h1>
        <p>Your ASP.NET application is successfully running on Vultr!</p>
        <p>Version: 2.0</p>
    </div>
    Powered by Vultr AgentBeta

    Save and exit the file.

  4. Rebuild and republish the application.

    CONSOLE
    $ sudo dotnet publish -c Release -o /var/www/aspnet-app
    Powered by Vultr AgentBeta
  5. Restart the service.

    CONSOLE
    $ sudo systemctl restart aspnet-app
    Powered by Vultr AgentBeta
  6. Verify the update by accessing https://app.example.com in your browser.

Common Management Commands

Below are common commands for managing your ASP.NET application.

  1. Stop the application.

    CONSOLE
    $ sudo systemctl stop aspnet-app
    Powered by Vultr AgentBeta
  2. View application logs.

    CONSOLE
    $ sudo journalctl -u aspnet-app
    Powered by Vultr AgentBeta
  3. View real-time logs.

    CONSOLE
    $ sudo journalctl -u aspnet-app -f
    Powered by Vultr AgentBeta

Conclusion

In this article, you deployed Vultr's ASP.NET Marketplace Application. You created and deployed an ASP.NET project, configured Nginx as a reverse proxy, secured the application with TLS certificates, and learned how to manage and update the application. With ASP.NET's robust framework and Vultr's optimized infrastructure, you can build and deploy scalable web applications efficiently. The pre-configured Marketplace Application simplifies the initial setup, enabling a faster and more streamlined deployment process.

Tags:ASP.NET

Tech Talk: Running a Self-Improving AI Agent with Hermes on Vultr

Have a suggestion or found an issue with this article?

About the Author

AT

Adedapo Toki

View Profile
View Profile

More to Explore

Show More
tech-talk-thumbnail

Tech Talk: Running a Self-Improving AI Agent with Hermes on Vultr

tech-talk-thumbnail

Tech Talk: Implementing Fine-Grained Access Control with Vultr IAM

tech-talk-thumbnail

Tech Talk: Getting Started with Vultr IAM

tech-talk-thumbnail

Tech Talk: Simplifying Zero-Trust Networking with NetBird on Vultr Marketplace

Show More

0 Comments

Start the conversation

Be the first to comment and share your perspective with the community.