What is the best way to use a single rpi to use pi-hole and host a public website?

I suppose it's the simplest option, but this is not officially supported (see How to edit external.conf to override lightpd.conf default port). It means that I have to change the port back after every pihole update.

Any other options?