Redirect an URL to another URL with Apache and WAMP?
        Posted  
        
            by 
                user1719496
            
        on Super User
        
        See other posts from Super User
        
            or by user1719496
        
        
        
        Published on 2012-10-14T08:22:01Z
        Indexed on 
            2012/10/14
            9:40 UTC
        
        
        Read the original article
        Hit count: 201
        
apache
I was wondering how to make a simple redirection, I've got WAMP installed on my computer and I wish I could do that: When I go to abc.com it redirects to xyz.com. I did this in the httpd.conf file, but it isn't working. 
It seems to work now, 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.
Here is my conf :
   <VirtualHost *:80 >
    ServerName abc.com
    Redirect permanent / http://www.xyz.com/
    </VirtualHost>
        © Super User or respective owner