Redirect subdomain.domain.com to www.subdomain.domain.com

Discussion in 'Apache' started by stevenanda, Dec 7, 2008.

  1. #1
    Hello, I am posting this as one of our main server guys is out of the office and I need to take care of this soon. Here is the situation:
    I have a virtual host file with the following entries...

    <VirtualHost *:80 *:81 *:82>

    ServerName www.test.com
    ServerAlias test.com
    ServerAdmin test@test.com
    DocumentRoot /data02/oracle/oracleas_web/ohs/htdocs

    Redirect 301 /digital http://200.**.132.20/

    So we creaed http://digital.test.com and we redirected to the ip address specified.
    Now we want http://www.digital.test.com to go to the same ip address - can someone please tell me how to do that?

    Thanks in advance for all your help.
     
    stevenanda, Dec 7, 2008 IP