How Do I Fix 401 Unauthorized Error? Link
Ensure your server folders aren't set to permissions that block public access (standard is usually 755 for folders and 644 for files).
Look for "AuthUserFile" or "Require" rules that might be password-protecting directories. How Do I Fix 401 Unauthorized Error?
Open Terminal and type sudo killall -HUP mDNSResponder . 6. If You Are the Website Owner Ensure your server folders aren't set to permissions