Is this setup possible with external domain

Hello everyone
i am using dietpi on my RPI4 along with unbound and redis cache.
It is working great and i have had no issues with the setup.
I have also enabled DOH and Dot using domain name and setiing up ddns for regular updation of ip with the domain.
using this setup i am able to use 11.yy. io as my DOT address in android and have not been facing any issue. where 11 is my device name and yy.io is domain. The domain is already ssl enabled

Now i want to host a small website on this domain along with adguard. like yy.io/new. So for this i have installed lighttpd and this setup works on local network like 19.x.x.x/new but with domain it doesnt work. I changed the port of lighttpd to 8088 but still getting error

This site can’t provide a secure connection

yy. io sent an invalid response.

ERR_SSL_PROTOCOL_ERROR

Kindly help me sort this if possible
Thanks

You need to setup Lighttpd for HTTPS. What do you mean with the domain being “ssl enabled”? You have a TLS certificate for it? A Let’s Encrypt certificate?

Does something else run on ports 80/443? You mean upstream DoT/DoH or downstream DoT/DoH (for DNS clients within you local network)? The latter would use/block ports 80/443 which makes obtaining a Let’s Encrypt certificate difficult at least.