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.

Main Modules Needed
#1
Main Modules Needed
-- Own NameServers (ns1.4183r.in, ns2.4183r.in) stuff like that!
-- apache 2 only restart when domain is added (Not daemon)
Latest version of PHP, MySQL, Varnish Cache, File Manager (Main modules needed indeed!! Confused )
phpmyadmin, webmail, in all sub-domain aka Custom Vhost Entries for Webmail, MySQL

Here what i'mm using in my windows server in Zpanel
</VirtualHost>
# Configuration for phpMyAdmin - mysql.domain.com
<VirtualHost *:80>
ServerAdmin webmaster@domain.com
DocumentRoot "C:/zpanel/panel/etc/apps/phpmyadmin/"
ServerName mysql.domain.com
AddType application/x-httpd-php .php3 .php
<Directory />
Options FollowSymLinks Indexes
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>

# Configuration for WebMail - webmail.domain.com
<VirtualHost *:80>
ServerAdmin webmaster@domain.com
DocumentRoot "C:/zpanel/panel/etc/apps/webmail/"
ServerName webmail.domain.com
AddType application/x-httpd-php .php3 .php
<Directory />
Options FollowSymLinks Indexes
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>

# Add Alias for DNS-Less Previews (Change xxx.xxx.xxx.xxx to your server's external IP)
<VirtualHost *:80>
ServerName xxx.xxx.xxx.xxx
#ServerName
sites.domain.com
DocumentRoot c:/zpanel/hostdata/
AliasMatch ^/~([a-zA-Z0-9]+)/?(.*) c:/zpanel/hostdata/$1/public_html/$2
<Directory C:/zpanel/hostdata>
Options FollowSymLinks Indexes
AllowOverride All
Order Allow,Deny
Allow from all
DirectoryIndex index.php
<IfModule mod_php5.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_admin_value upload_tmp_dir c:/zpanel/temp
</IfModule>
</Directory>

In DNS module
Add A records for each of

mysql.domain.com
webmail.domain.com
Reply
Thanks given by:
#2
RE: Main Modules Needed
Could you explain? Is this a feature request?
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:
#3
RE: Main Modules Needed
(11-11-2014, 07:53 AM)Me.B Wrote: Could you explain? Is this a feature request?

Yup i want you guys to add these stuff, i mean i've to do these stuff manually all the time!! you know so  that people can go through webmail or phpmyadmin directly not via panel!  Exclamation

and for the NameServer (http://docs.sentora.org/index.php?node=53) i'm not really expert in that tho but looking forward to learn how to make our own Private Nameserver  Big Grin and add webmail and phpmyadmin! on CNAME
Reply
Thanks given by:
#4
RE: Main Modules Needed
Well.

1. This is not the right thread.

2. I wish too but you need to help us to get some of these here and likely some will never built into sentora.

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:
#5
RE: Main Modules Needed
It's very simple. Just add the following to Module Admin>Apache Config>Global Vhost Entry:
Code:
Alias /mysql c:/zpanel/panel/etc/apps/phpmyadmin
Alias /webmail c:/zpanel/panel/etc/apps/webmail
The above will be added to every vhost entry.

Although this is not a subdomain, it is universal to my entire server. All domains can get to webmail and phpmyadmin simply by adding domain.com/mysql/ or roundcube by using domain.com/webmail/

This also works for subdomains also ie: sub.domain.com/webmail/

It is much easier this way then trying to set DNS records all the time for using them on a subdomain such as webmail.domain.com especially if any of your users (or yourself) use an external DNS.
-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:
#6
RE: Main Modules Needed
(11-12-2014, 04:51 AM)TGates Wrote: It's very simple. Just add the following to Module Admin>Apache Config>Global Vhost Entry:

Code:
Alias /mysql c:/zpanel/panel/etc/apps/phpmyadmin
Alias /webmail c:/zpanel/panel/etc/apps/webmail
The above will be added to every vhost entry.

Although this is not a subdomain, it is universal to my entire server. All domains can get to webmail and phpmyadmin simply by adding domain.com/mysql/ or roundcube by using domain.com/webmail/

This also works for subdomains also ie: sub.domain.com/webmail/

It is much easier this way then trying to set DNS records all the time for using them on a subdomain such as webmail.domain.com especially if any of your users (or yourself) use an external DNS.

Awesome! Going to give a try let you know if it's working Smile
Reply
Thanks given by:
#7
RE: Main Modules Needed
Sorry to Say but it's not working tho Sad
http://prntscr.com/55vbfl

it's showing blank page
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
lost all modules spoonman 4 7 ,287 01-31-2021, 01:25 AM
Last Post: spoonman
Add on Domains not working but Main domain works luckyviet 2 5 ,426 03-18-2020, 07:38 PM
Last Post: AanaNahum
Install PHP Modules gabriel15959 3 8 ,701 03-08-2018, 09:52 AM
Last Post: gabriel15959

Forum Jump:


Users browsing this thread: 1 Guest(s)