One reliable way to carry on a paid service after your own death is setting up an estate or trust which pays living people to ensure everything stays online.
There are however legal rules against trusts in many jurisdictions: https://centaur.reading.ac.uk/100782/1/Article%20-%20The%20r...
So your best bet is to establish a community of people interested in preserving your website, or websites in general, and have them run a long term nonprofit for that purpose.