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!

Directory Alias in WHM or Cpanel

Discussion in 'General Discussion' started by redfoxmedia, Feb 22, 2010.

  1. redfoxmedia

    redfoxmedia Registered

    Feb 22, 2010
    Likes Received:
    Trophy Points:
    I am wondering if anyone out there can help me?

    I need a way to create a 'directory alias' in cPanel/WHM.

    This feature is a standard feature in apache (mod_alias), but I don't see anything in cpanel/WHM that allows us to do it?

    I can do the manual changes into the apache config file, but it will be overwritten by cpanel, when it rebuilds the vhost config file

    The mod_alias is a way to map a web address to any directory, like to any physical folder/directory in the server.

    If this feature is available in cpanel/WHM, can anyone please provide instruction on where/hoe to access it or set it up? I wopuld be greatly appreciative.
  2. JawadArshad

    JawadArshad Well-Known Member

    Apr 8, 2008
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider
    You can enable custom modules in Apache by following guidelines here. To add custom directives to httpd.conf without them being overwritten by any update, you can check this link.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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