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
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
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
RE: Change hostdata to another directory
this can also be changed much easier in Module Admin>Apache Config>Vhosts Directory:
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: Nextus
#4
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
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
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
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
RE: Change hostdata to another directory
thanks castey. that is exactly what i needed to know.
Reply
Thanks given by:
#9
RE: Change hostdata to another directory
Nextus, please mark as 'best answer' if solved. Thanks!
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
change username from email umarzuki@gmail.com 0 1 ,204 11-25-2022, 05:46 PM
Last Post: umarzuki@gmail.com
How to give the cliens file manager access to their respective domain directory vsvinit0 4 8 ,976 10-09-2019, 10:05 PM
Last Post: vsvinit0
Database - Change localhost to %localhost% JSmith 1 4 ,432 09-11-2019, 09:19 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)