How to change the default home directory in WHM

At some point in time, you might want to change the home directory WHM uses to place new accounts.

1) Go to Server Configuration, then Basic cPanel/WHM Setup.


2) Scroll down.


 

By default, all directories matching the Home Directory Prefix option below are checked for available disk space; the directory with the most free space will be used. Unless you have a good reason, this is probably the most desired functionality. If you use the default prefix of "home" and create a /home and /home2 directory on your web server, new accounts will be placed in either /home or /home2, according to which directory contains the smallest amount of information.


 

If you want to force WHM to use the Default Home Directory specified, you must disable the prefix option by putting a blank value in that field.

 

3) Let's do that as an example.


4) Change this to the desired directory name.


5) Click Save.


 

Your home directory settings have been changed.


 

Remember that you'll now have to manually change the home directory if the new one runs out of room.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to add an A entry for your hostname using WHM

An "A Entry" is a type of DNS record that tells computers a hostname's IP address. Your server's...

How to adjust cPanel & WHM's Update Preferences

cPanel and WHM are updated frequently by the developers. You can change the way updates are...

How to alter the cache settings for DNS records managed by WHM

When a resolver looks up your DNS records, that server caches the results for a specific period...

How to change the destinations for WHM to use when sending alerts

In the previous tutorial, you saw how to change your alert settings. Now let's find out how to...

How to change the root server password in WHM

Your server's root password was likely entered at random by whoever set the server up. Changing...