The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Subdomain Redirection Question

Discussion in 'General Discussion' started by Tom Pyles, Feb 24, 2003.

  1. Tom Pyles

    Tom Pyles Well-Known Member

    Joined:
    Apr 26, 2002
    Messages:
    254
    Likes Received:
    0
    Trophy Points:
    16
    I have a client that is having an issue setting up redirection on his sub-domains. He has 2 sites with us. He is trying to set up the following redirection.

    sub1.domain1.com should point to domain2.com/directory/directory/

    sub2.domain1.com should redirect to
    domain2.com/differentdirectory/directory.

    I thought it was possible to set up sub-domain redirection to directory of another url...is this not the case?
     
  2. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    Although I have not used this feature myself, I also thought it supposed to work like that. What WHM version are you using?

    First thing that comes to my mind is to confirm the setup is correct and the designated URL is working.
     
  3. Tom Pyles

    Tom Pyles Well-Known Member

    Joined:
    Apr 26, 2002
    Messages:
    254
    Likes Received:
    0
    Trophy Points:
    16
    I spoke to our NOC, and they say it isn't the case.

    -----------------------------------------------------
    Hello,
    Subdomain redirection only works for the same domain as the main account, you can't redirect the subdomain from one account to another. So, you can do xxx.shoes.com -> shoes.com/xxx or a full domain like newdomain.com -> shoes.com/newdomain, but not in the configuration you provided as an example.
     
  4. jimcarter

    jimcarter Well-Known Member

    Joined:
    Jun 30, 2002
    Messages:
    152
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    UK
    Hi,
    yes this is easily possible,
    login to your cpanel,
    create the subdomain,
    setup redirection for the subdomain,
    enter the url you want to redirect to,
    voila!
    Hope this helps,
    Thanks :)
     
Loading...

Share This Page