Subdomain .htaccess trying to redirect to www.sub.domain.com

americanintel

Verified User
Joined
Mar 1, 2004
Messages
134
Location
Granbury, TX
I created a subdomain:

store.domain.com

then password protected the directory store.domain.com/admin. When I login the .htaccess file prompts me for my id/pw as it should then gives me a 'www.store.domain.com could not be found. Please check the name and try again.'

I searched the forums but couldnt find a fix. Why is it tacking a www on to the subdomain?
 
It could be indicated in your .htaccess file for some reason. Can you access the subdomain withoug using the .htaccess?
 
I checked that. I went in and had to manually delete the .htpasswd and .htaccess files for that directory then created them again via DA... works ok now.

Quite strange.
 
Back
Top