Hi

Can any one please help me in password protecting a subdomain. I have a main site like www.example.com and subdomain site for this site is www.abc.example.com

I want password protection subdomain site www.abc.example.com, please help me doing this using .htaccess and .htpasswd

Thank you in advance

is your subdomain pointing to a sub-folder of your server? I bet so? So why not simply putting that htaccess-file there?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.