Redirect of All Public Domains not working
Hello,
I have a primary account with several add-on domains. I have set "Restrict document roots to public_html" to Off so that addon domains are not under the /public_html folder.
I have set my Redirects to send **All Public Domains** to an outside URL.
The redirect is working for the Primary domain in the /public_html folder... but not for any of the Addon domains.
I can see that the .htaccess file for the Primary domain has been created... but the .htaccess file for the Adddon domains only reads:
RewriteEngine on
RewriteOptions inherit
So my assumption is that the **All Public Domains** re-direct feature ONLY works if the tweak setting for "Restrict document roots to public_html" is set to ON and all addon domains are placed under the /public_html folder. Is that correct?
-
Heh... OK... tested and verified. I guess that's what "Public Domains" means, eh? LOL All these years and I never understood that... I'm sitting here thinking "domains accessible by the public" sheesh. :) 0 -
Hi @coolcom I actually think you were right initially, I do not believe that is how it should be working, according to our documentation here Redirects - Version 68 Documentation - cPanel Documentation I've opened an internal case so our developers can look into this CPANEL-20228 - I'll update you on the status of that here when I have more information. For now, it looks like you found a suitable workaround but let us know if you have any further issues. Thanks! 0
Please sign in to leave a comment.
Comments
2 comments