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.

Can't Remove Redirection from Addon Domain

Discussion in 'General Discussion' started by madtownlems, Sep 7, 2017.

Tags:
  1. madtownlems

    madtownlems Member

    Joined:
    Aug 21, 2017
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Madison, WI
    cPanel Access Level:
    Root Administrator
    I'm trying to add an add-on domain that uses the same document root as the primary domain on the account, which I've done successfully on my test server but can't get working on production. Here's what happens:

    I add an Addon Domain, say foo.com.

    It says the redirection is going to redirect to:
    http://foo.com/(?i)\.svn

    I click Manage Redirection, then clear the value of (?i)\.svn which is pre-filled in the input.

    “foo.com” is now being redirected to “nowhere (Redirection Disabled!) ”.

    However, when I go back to the Addons screen, it still says that it's redirecting to:
    http://foo.com/(?i)\.svn

    I'd like to remove the redirection for this addon domain.

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Do you have any custom rewrite rules enabled in the .htaccess file in the account's home or public_html directories?

    Thank you.
     
Loading...

Share This Page