I think the general "web product building" space is even more competitive with tons of good choices.
You've got Ruby on Rails and Elixir/Phoenix which both have an enjoyable developer experience and a well designed language.
There's JavaScript & Node.js where the language is a bit of a mess but the ecosystem is huge. Plus the same language can be used on the frontend and backend.
Python is extremely popular with Django, FastAPI, and Flask.
C# is also extremely popular with ASP.NET Core, although I've never used it.
you are missing the point, all the shared webhosts out there support PHP+Apache+mySQL iterations, nobody is deploying python on dedicated server just because they wanted small web app.
There are plenty of shared webhosts that let you run whatever language you want. Fly.io, Render.com, Heroku, etc. They all let me run my code on a fraction of a dedicated server with fully managed infrastructure for a few dollars a month.
You've got Ruby on Rails and Elixir/Phoenix which both have an enjoyable developer experience and a well designed language.
There's JavaScript & Node.js where the language is a bit of a mess but the ecosystem is huge. Plus the same language can be used on the frontend and backend.
Python is extremely popular with Django, FastAPI, and Flask.
C# is also extremely popular with ASP.NET Core, although I've never used it.