external.conf Pihole 5

How can I use external.conf?
Mine is currently empty. I have updated my port in lighttpd.conf but it says about using external.conf?

From this answer editing lighttpd. conf seems to be the right place to edit.

I have edited lightpd but external is still blank

Is that a problem itself? Does the new port for lighttpd work in your current configuration?

You can't change ports with external.conf.