How to use custom error pages with subdomains?

BraveX

Well-Known Member
Apr 8, 2005
155
0
166
When I set up custom 404 and 401 error pages in cPanel they work great with my main domain. However, they don't with subdomains. I copied the 401.shtml file and uploaded it into the subdomain directory then password protected that directory. But it didn't work.

What do I need to do to get this to work properly?

Thanks in advance.

BX