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!

Redirect not working

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

Tags:
  1. David_spm

    David_spm Active Member

    Joined:
    May 28, 2017
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    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:
    43,961
    Likes Received:
    1,821
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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