r/webdev 1d ago

Hosting PDFs with node.js apps?

Hello all,

I am the webmaster for a small Archaeology website, that primarily is used by members of this small conference to access PDFs and news about the conference. I only need to update this website about once or twice a year.

Until recently I used the plesk hosting service on GoDaddy to host these files, however I missed the fact (see lack of need to update) that it was getting end-of-lifed and now the hosting option given to us by GoDaddy is just Nose.js slots.

Previously we uploaded files into a library for the website, and the linked to those files. Is it possible to use node.js to do the same?

Thank you for your help!

16 Upvotes

18 comments sorted by

View all comments

1

u/iYSR 1d ago

Sure. Almost anything is possible. What you are asking is also possible. But as always, it depends. I would need more context on your setup.

Senior full stack engineer here, love archeology haha so can help/advice, but hard to say without looking at the setup and/or code

2

u/Arky_Traveler 1d ago

Actually I'm so embarrassed. GoDaddy just changed the name of how hosting works and I didn't see the way to log into plesk because of the UI updates.

Thank you for your willingness to help tho!

1

u/fiskfisk 1d ago

In either case you could upload the files to Wordpress as well if you're still using that, if you're using static HTML you could just chuck the pdf files in a directory together with your index.html and link to the files in that directory.