Results 1 to 6 of 6

Hybrid View

  1. #1

    Redirection from one server to another

    Hello,
    I havethat hosts hosting.com. But my clients are on another server hosting2.com.

    Both servers have cpanel.

    I was wanting to know how to get /whm and /cpanel on Hosting.com to redirect to Hosting2.com

    And also if it was possible to do it with the ports ?

    THankyou

    P.s
    Sorry if in wrong section

  2. #2
    Join Date
    Nov 2004
    Location
    India
    Posts
    1,104
    Do you want to redirect only the /whm & /cpanel from hosting.com to hosting2.com ? or all the domains in hosting.com to hosting2.com ??
    AssistanZ - Beyond Boundaries...
    Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
    Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development

  3. #3
    just /cpanel /whm

  4. #4
    .htaccess maybe ?

  5. #5
    Join Date
    Nov 2004
    Location
    India
    Posts
    1,104
    Cant do that using .htaccess..but if you are good in scripting try editing the files :

    /usr/local/cpanel/cgi-sys/whmredirect.cgi

    &

    /usr/local/cpanel/cgi-sys/redirect.cgi

    To set the redirection..
    AssistanZ - Beyond Boundaries...
    Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
    Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development

  6. #6
    i dont have root access to the server

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •