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!

New Account Setup Questions

Discussion in 'General Discussion' started by pokermagic, Apr 11, 2012.

  1. pokermagic

    pokermagic Member

    Sep 1, 2010
    Likes Received:
    Trophy Points:
    I've had WHM and our current account installed for about a year. Now I am adding another domain so created a new account.

    I use Resin as our primary JAVA app server on our current Domain. When I create the new account what is the best way to gain access to this container? Or do i need to install a separate instance of this?

    Also on the Apache side... it looks like directory listing is turned on. How do i turn it off on this account. I just want to make sure i'm not messing anything up on my current account.

    Thanks in advance.

  2. thewebhosting

    thewebhosting Well-Known Member

    May 9, 2008
    Likes Received:
    Trophy Points:
    If you have installed Resin on your main server then you do not need to do any extra settings to use it for your another domain. You should be able to use it. However, if you have installed it for particular account then I think you need to follow same steps to use it for another account.

    You can turn off directory browsing for particular account, go to cPanel of account -> Index Manager -> No indexes -> Save. You can also do this from .htaccess file by adding following line:

    IndexIgnore *

    To disable globally:

    You will find the apache configuration file here:


    Using an editor like vi (OR any other you prefer) , edit the httpd.conf file and find a line like this:

    Options All Indexes FollowSymLinks MultiViews

    To disable directory browsing, remove the line "Indexes" and leave the line like this:

    Options All FollowSymLinks MultiViews

    Restart your apache webserver and thats it.

    To restart use /etc/init.d/httpd restart

    Note: Please carefully follow above steps, if you will make any mistake then your apache may stop working.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 thewebhosting, Apr 11, 2012
    Last edited: Apr 11, 2012

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