Maybe find a better host. 24.04 has been out for a year.
Many people have upgraded through multiple versions of Ubuntu and Debian and it continued to work OK, but I wouldn’t recommend starting out that way. I do hundreds of those kinds of upgrades for my other job, and there are definitely surprises in the resulting system. All sorts of things change from one revision to the next. You’re probably asking for problems. Maybe small ones, and if you’re pretty comfortable with Linux and reading logs and config files, it’s probably not a big deal. But, if that’s not the case, starting with a clean slate is recommended.