Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Subdomain redirect question

Discussion in 'General Discussion' started by Shtirlitz, Mar 23, 2012.

  1. Shtirlitz

    Shtirlitz Registered

    Dec 21, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    When i go to Subdomains create subdomain and then go to "manage redirection" and type the address where to redirect, where its stored on server?
    I tried to do it for with my in public_html/.htacces locked on server using chattr -x .htaccess command.

    First time it throw error about not able to write to .htaccess.
    Second time it saved redirect fine.
    Third time - saved fine.

    Redirect works, but i don't see any change in my .htaccess so where does it store info about this redirect?
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    There can also be .htaccess files in subfolders inside public_html or in the subdomain folder. If your subdomain is at /home/username/public_html/subdomain location, then check /home/username/public_html/subdomain/.htaccess file for the redirection code.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice