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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.

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