301 Redirect Old Subdomain

Discussion in 'Apache' started by theblade24, Sep 24, 2007.

  1. #1
    Hi, I have done away with a site located at an old subdomain and want to redirect via 301 from that subdomain to another.

    The directory the subdomain is deleted.
    The records are gone from dns server bind.
    The subdomain virtual server is gone from httpd.conf

    Is there a way to redirect this subdomain with the items gone as above stated?

    Do I need to go back and recreate anything? I really dont want or need the actual sub-directory or files on the server from the old subdomain.

    Is there a way to do this in htaccess?
     
    theblade24, Sep 24, 2007 IP
  2. powerspike

    powerspike Peon

    Messages:
    312
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    1) you need the dns setup for the domain to be able to do anything with it
    2) you need to either have webspace for the old site to use a .htaccess redirect or
    3) you need to setup apache in the new place to accept connections for the old domain on the new site.
     
    powerspike, Sep 24, 2007 IP