Skip to main content

URL domain/whm automatic redirect to WHM

Comments

8 comments

  • cPRex Jurassic Moderator
    Hey there! It sounds like there is some misbehavior with the Service Subdomains, although I was not able to reproduce this behavior on a test server with a WordPress site. Do you have any other plugins or extra rules in your .htaccess file that could be interfering with this? Do you see any redirection happening with the URL after you try and navigate to the page?
    0
  • sozuadavi2
    Hey there! It sounds like there is some misbehavior with the Service Subdomains, although I was not able to reproduce this behavior on a test server with a WordPress site. Do you have any other plugins or extra rules in your .htaccess file that could be interfering with this? Do you see any redirection happening with the URL after you try and navigate to the page?

    Hey there! It sounds like there is some misbehavior with the Service Subdomains, -- the subdomain is working fine, the deal is the redirection of folders like: domain.com/cpanel or domain.com/webmail or domain.com/whm Do you have any other plugins or extra rules in your .htaccess file that could be interfering with this? -- No, I tried it on 2 different server and 2 different domain and on 1 fresh WordPress install without plugins or any extra rules. Do you see any redirection happening with the URL after you try and navigate to the page? -- No, when you have a 404 error on WordPress it show a WP 404 page, but with you try to access a page with /whm it redirect to WHM login. If you try to access to any page that start with those words (whm, cpanel or webmail) the 404 erros page show up, but the system page not the WP 404 error page. 404 wordpress error page: There is any way to disable the WHM automatic folders redirections? Like domain.com/whm to domain.com:2087 thanks
    0
  • sozuadavi2
    Hey there! It sounds like there is some misbehavior with the Service Subdomains, although I was not able to reproduce this behavior on a test server with a WordPress site. Do you have any other plugins or extra rules in your .htaccess file that could be interfering with this? Do you see any redirection happening with the URL after you try and navigate to the page?

    Hey there! It sounds like there is some misbehavior with the Service Subdomains, -- the subdomain is working fine, the deal is the redirection of folders like: domain.com/cpanel or domain.com/webmail or domain.com/whm Do you have any other plugins or extra rules in your .htaccess file that could be interfering with this? -- No, I tried it on 2 different server and 2 different domain and on 1 fresh WordPress install without plugins or any extra rules. Do you see any redirection happening with the URL after you try and navigate to the page? -- No, when you have a 404 error on WordPress it show a WP 404 page, but with you try to access a page with /whm it redirect to WHM login. If you try to access to any page that start with those words (whm, cpanel or webmail) the 404 erros page show up, but the system page not the WP 404 error page. 404 wordpress error page: There is any way to disable the WHM automatic folders redirections? Like domain.com/whm to domain.com:2087 thanks
    0
  • cPRex Jurassic Moderator
    I'd like to have our team examine your server's configuration to see what the cause may be, as I couldn't reproduce this on a test machine with a Wordpress installation. Could you get a ticket submitted and then post the number here?
    0
  • sozuadavi2
    I did this tutorial, the redirection stop, but the 404 WordPress page doesn't show yet.
    0
  • cPRex Jurassic Moderator
    Great - I'm following along with that now and I'll post an update here once we have more details.
    0
  • sozuadavi2
    It'x fixed. My cPanel is using cpnignx to serve websites. After update vhost.conf file and disable the redirection of words, it get working. But this tutorial was very important: How to disable /webmail, /cpanel or other default redirects Thanks for your attention and great support of cPanel team.
    0
  • cPRex Jurassic Moderator
    I'm glad we were able to help you track that down!
    0

Please sign in to leave a comment.