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.

Using Custom Vhost Entries for Webmail, MySQL, Etc.
#39
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
I have done this on CentOS 7 and Sentora 1.0.3 for Webmail as a subdomain and it appears to work with no problems.

Create the subdomain as usual using the Subdomain UI.  After Sentora creates the subdomain , open a terminal and type the following changing any of the capitalized code to fit your configuration:

Code:
cp /var/sentora/USERNAME/hostdata/public_html/webmail_DOMAIN_TLD/* /var/sentora/USERNAME/hostdata/public_html/webmail_DOMAIN_TLD.backup

ln -s /etc/sentora/panel/etc/apps/webmail /var/sentora/USERNAME/hostdata/public_html/webmail_DOMAIN_TLD

I hope that I have the cp command right.  I use so many different systems that I tend use desktops to do this so I don't have to remember all the intricacies of each OS.  If not, please feel free to correct me and I'll make the appropriate edit.

Goto Module Admin, Apache Config.  Under Override a Virtual Host Setting select the subdomain that you just created.  In the Custom Entry box enter the following code again changing any of the capitalized code to fit your configuration:

Code:
php_admin_value open_basedir "/var/sentora/hostdata/USERNAME/hostdata/public_html/webmail_DOMAIN_TLD:/var/sentora/temp/:/etc/sentora/configs/roundcube/:/var/sentora/logs/roundcube/"

Click Save Vhost and wait for the changes to be applied.
Reply
Thanks given by:


Messages In This Thread
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc. - by kharl - 11-08-2015, 12:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
SSL and Custom Vhost Entries for Webmail etienne7702 5 15 ,830 03-08-2018, 09:54 PM
Last Post: etienne7702
How to overwrite default admin. vhost? NIicK 1 7 ,036 03-27-2016, 01:16 AM
Last Post: Me.B
Roundcube Webmail https path pthalmann 0 4 ,892 12-29-2014, 09:09 AM
Last Post: pthalmann

Forum Jump:


Users browsing this thread: 16 Guest(s)