Question

Host an ASP.Net application written in C# on a sub-domain droplet

We want to host an ASP.Net application written in C# on a sub-domain droplet to our main website https://www.example.com/tt/, for example, https://paynow.example.com/tt/. Is that possible and do you support Microsoft SQL Server 2019"


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

KFSys
Site Moderator
Site Moderator badge
August 29, 2022

Hi @lindryjones

DigitalOcean only supports Linux machines. Having said that, while it’s not a native thing to Linux distributions, you can host ASP.NET applications with a little configuration. DigitalOcean have created a tutorial on how to use ASP.NET with MySQL on Ubuntu which you can check here:

https://www.digitalocean.com/community/tutorials/how-to-deploy-an-asp-net-core-application-with-mysql-server-using-nginx-on-ubuntu-18-04

As for your second question, sadly you can’t use Microsoft SQL Server on a Linux machine.

Bobby Iliev
Site Moderator
Site Moderator badge
August 16, 2022

Hello,

Yes, you can create different Droplets and host different websites on each Droplet depending on your needs.

For example, in your case, you could create a new Droplet and then point your subdomain name’s A record to the Droplet IP address:

https://docs.digitalocean.com/products/networking/dns/how-to/manage-records/

Regarding the Microsoft SQL Server 2019, this is currently not offered as a managed solution, but you should be able to install it on an Ubuntu server as per the official documentation here:

https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-release-notes-2019?view=sql-server-ver16

Hope that this help!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.