404 error on /.well-known

Hi. When I want to check any files in /.well-known directory it shows 404 error!
My webserver was nginx and changing it to apache not solved my problem.
Also I added
RewriteRule (^\.|/\.) - [F]
to my .htaccess file but doesn’t solved again!
(I added letsencrypt=1 code to directadmin.conf at the first)

LE saves the challenge response at: /.well-known/acme-challenge
did you setup an alias for that?
Can you show more of the config in use?