Ubuntu as server usages, I recommend you to use Debian if you wish to use it in the enterprise environment as Debian is more secure and stable. On the other hand, if you want all the latest software and use the server for personal purposes, use Ubuntu.
Is Debian more secure?
Here are some other aspects of security in Debian to consider: Debian provides more security tools than other distributions, see Chapter 8, Security tools in Debian. Debian’s standard installation is smaller (less functionality), and thus more secure.
Which is better between Debian and Ubuntu?
Ubuntu and Debian are very similar, but they have some major differences too. Ubuntu is geared more towards user friendliness, and has a more corporate feel. Debian, on the other hand, is more concerned with software freedom and options. It’s a non-profit project, and it has that sort of culture around it as well.