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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Redirect not working

Discussion in 'Bind / DNS / Nameserver Issues' started by David_spm, May 28, 2017.

Tags:
  1. David_spm

    David_spm Member

    Joined:
    May 28, 2017
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Thailand
    cPanel Access Level:
    Root Administrator
    I have attempted to setup a 301 redirect from one web page on my website to another page on a different website and on a different server. I own both of these websites though.

    After setting up the 301 in cpanel Redirects nothing happens after, what am I doing wrong here?

    I saw it mentioned somewhere that this wont work if ModSecurity is on so I did a search for that in httpd.conf and this is all I could find and it appears to be off?

    <IfModule mod_security2.c>
    SecRuleEngine Off
    </IfModule>
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Do you notice any error messages in /usr/local/apache/logs/error_log when the redirect fails to work? Also, can you verify the domain name you added the redirect for resolves to the cPanel server?

    Thank you.
     
Loading...

Share This Page