Subdomain redirect!! Why?

markokaup

Verified User
Joined
May 2, 2008
Messages
8
I have two subdomains (sub1.domain.com, sub2.domain.com)

sub1 works just fine, when I enter sub1.domain.com into url, it's working and no problem in there what so ever.

altho, sub2 is weird.. When I enter sub2.domain.com into url, it is redirect that url into domain.com/sub2?? Why??

Both subs has default contents, but sub2 just doesn't work like it should be..


Thanks for all help!
 
My guess is that you have an .htaccess file in the domain.com/public_html directory that is messing with the request. It probably did the same thing with the first subdomain but you fixed it, and now you have to do it for the second subdomain too.

Other then this, I can't help without at least knowing the real names of the website (to check myself which kind of redirect is it) and the content of the virtualhosts (if custom) and .htaccess files (if present).
 
Back
Top