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!

how to enable a domain to use its own /webmail dir

Discussion in 'E-mail Discussion' started by scottc, Oct 18, 2005.

  1. scottc

    scottc Well-Known Member

    Joined:
    Apr 21, 2002
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    306
    I have a couple of clients who want to use a directory called webmail within their domain. The default cpanel setup redirects all requests for the webmail directory to the webmail login page. How can I disable that redirect for a single domain? I've tried adding scriptalias directives in the virtual host section of httpd.conf for the domain but I guess I don't understand Apache well enough to do this right.

    Thank you.

    Scott
     
  2. nisse

    nisse Well-Known Member

    Joined:
    Nov 11, 2003
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    156
    Put this in the domain's virtual host section:

    Alias /webmail /home/USER/public_html/webmail

    replacing USER with the username for the domain.
     
  3. scottc

    scottc Well-Known Member

    Joined:
    Apr 21, 2002
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    306
    Thank you, nisse! That worked perfectly.

    Scott
     
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