This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Change hostdata to another directory
#1
[Not Solved] Change hostdata to another directory
pretty much what the title says
i would like to change the hostdata to another directory. preferably a networked location so if i need to add more storage, i can do so. any help?
Reply
Thanks given by:
#2
[Not Solved] RE: Change hostdata to another directory
You can do a symbolic link to the network storage you target? But notice you need to have a fast san otherwise it will blow out in performance.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS

Reply
Thanks given by: Nextus
#3
[Not Solved] RE: Change hostdata to another directory
this can also be changed much easier in Module Admin>Apache Config>Vhosts Directory:
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by: Nextus
#4
[Not Solved] RE: Change hostdata to another directory
(10-14-2014, 02:14 PM)TGates Wrote: this can also be changed much easier in Module Admin>Apache Config>Vhosts Directory:

perfect. and yes. we have a gb switch as our backbone as well as our SAN. we have 8tb (16tb) running in raid 5 for redundancy. we should be ok with that speed. plus the server has 2 nic's. 1 www facing and the other internal so it wont get clogged up with traffic.
Reply
Thanks given by:
#5
[Not Solved] RE: Change hostdata to another directory
but changing the hostdata, will that affect the FTP locations at all? or will that be corrected on the next cron job?
Reply
Thanks given by:
#6
[Not Solved] RE: Change hostdata to another directory
both solutions should affect FTP/Cron/http.

But notice emails are in: /var/zpanel/vmail.

So it might be better if you want to host all email + web on SAN to use symbolic link for /var/zpanel/

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS

Reply
Thanks given by:
#7
[Not Solved] RE: Change hostdata to another directory
I think, You will need to manually change homedir in ftpuser.zpanel_proftpd (table ftpuser in zpanel_proftpd database) for existing users and change location in script for creating new users.
Reply
Thanks given by: Nextus
#8
[Not Solved] RE: Change hostdata to another directory
thanks castey. that is exactly what i needed to know.
Reply
Thanks given by:
#9
[Not Solved] RE: Change hostdata to another directory
Nextus, please mark as 'best answer' if solved. Thanks!
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
How to give the cliens file manager access to their respective domain directory vsvinit0 4 2 224 10-09-2019, 10:05 PM
Last Post: vsvinit0
Database - Change localhost to %localhost% JSmith 1 1 397 09-11-2019, 09:19 AM
Last Post: TGates
Sentora open_basedir - how to set for specific directory sathish2009 6 6 139 05-02-2019, 07:35 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)