0

I've a simple question, so here it is. I was wondering how to make a simple redirection, I've wamp installed on my computer and I wish I could do that: When I go to abc.com it redirect to xyz.com. I did this in the httpd.conf file .. But it isn't working

   <VirtualHost *:80 >

    ServerName abc.com
    Redirect permanent / http://www.xyz.com/

    </VirtualHost>

Thank you!

1
  • Did your Apache load mod_alias? And, did you reload/restart your Apache after making these changes? Oct 5, 2012 at 18:23

1 Answer 1

0

Enable loggin (CustomLog,ErrorLog) and provide that output information. I'm using same kind of redirect and it works for me no problem.

1
  • Thank you for your answer, it seems to work, but only when I go to localhost . However, what I want is that when I go to abc.com it goes to xyz.com.. And I can't do that.. Oct 13, 2012 at 5:54

Not the answer you're looking for? Browse other questions tagged .