Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i want to do a redirect from sub.domain.com to domain.com/sub

How to do it in IIS6? My server is Windows Server 2003, using IIS6

share|improve this question
add comment

1 Answer

  1. Setup a site in IIS for your subdomain.
  2. Open the properties ofthe site, go to the Home Directorytab
  3. Change the option for "Content for this source should come from" to be "A Redirection to a URL"
  4. Supply the full URL of the site you want to redirect to - http://domain.com/folder.
share|improve this answer
    
Tried.. it does not work.. Should I restart server?? –  canonball09 Oct 7 '09 at 10:18
    
What did you put as the Redirect URL? I've just realised my answer was a bit vauge, see update to part 4 –  Sam Oct 7 '09 at 10:22
    
I put this: domain.com/sub Nothing more or less than that. But it seems like does not work. Well, should I write or call to my ISP provider? –  canonball09 Oct 7 '09 at 10:41
    
Sorry, not ISP provider, its the web hosting company that host my website –  canonball09 Oct 7 '09 at 10:41
    
Does it do anything? –  Sam Oct 7 '09 at 11:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.