.htaccess tutorial

htaccess Elite


Redirecting subdomains that does not exist

Ask your mod_rewrite and Redirection questions here, and get answers!

Redirecting subdomains that does not exist

Postby ialphan » 19 May 2008 04:57

Hi there,

I am trying redirect subdomains that does not exist in my directory.

For example: (Assuming there is a subdomain called "sub") sub.domain.com will work fine, but if a user types subs.domain.com it should give an error or redirect to http://www.domain.com. Any help would be great. Thanks...
ialphan
 
Posts: 1
Joined: 19 May 2008 04:52

Return to Redirect or Rewrite Questions