Adding domain - Folder doesn't fetch
06-26-2016, 10:21 AM
(This post was last modified: 06-26-2016, 10:22 AM by sento.)
Hey guys
I have setuped 3 domains a while ago, they work like a charme
But i tried to add additional 3 more today this time it didn't work, at least it doesn't direct to the public_html/domain_com folder i think.
Because when i enter the domain name as example jailbreaklab.eu i get rooted to the sentora web panel login.
I have CentOS 6.7 Final should i maybe update to 7 ?
Here is a copy of my http-vhosts.conf i don't know if it might help and I may be wrong but something lets me think that the problem is there.
EDIT: I routed billiger-tarif.eu and billiger-tarik.info to the same folder.
I have setuped 3 domains a while ago, they work like a charme
But i tried to add additional 3 more today this time it didn't work, at least it doesn't direct to the public_html/domain_com folder i think.
Because when i enter the domain name as example jailbreaklab.eu i get rooted to the sentora web panel login.
I have CentOS 6.7 Final should i maybe update to 7 ?
Here is a copy of my http-vhosts.conf i don't know if it might help and I may be wrong but something lets me think that the problem is there.
EDIT: I routed billiger-tarif.eu and billiger-tarik.info to the same folder.
Code:
################################################################
# Apache VHOST configuration file
# Automatically generated by Sentora 1.0.3
# Generated on: 23:55 25th Jun 2016 CEST
#==== YOU MUST NOT EDIT THIS FILE : IT WILL BE OVERWRITTEN ====
# Use Sentora Menu -> Admin -> Module Admin -> Apache config
################################################################
NameVirtualHost *:80
NameVirtualHost *:443
Listen 80
Listen 443
# Configuration for Sentora control panel.
<VirtualHost *:80>
ServerAdmin zadmin@localhost
DocumentRoot "/etc/sentora/panel/"
ServerName cp.kkip.de
ErrorLog "/var/sentora/logs/sentora-error.log"
CustomLog "/var/sentora/logs/sentora-access.log" combined
CustomLog "/var/sentora/logs/sentora-bandwidth.log" common
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/">
Options +FollowSymLinks -Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# Custom settings are loaded below this line (if any exist)
</VirtualHost>
################################################################
# Sentora generated VHOST configurations below.....
################################################################
# DOMAIN: kkip.de
<virtualhost *:443>
ServerName kkip.de
ServerAlias www.kkip.de
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/kkip_de"
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/kkip_de:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
ErrorLog "/var/sentora/logs/domains/zadmin/kkip.de-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/kkip.de-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/kkip.de-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/kkip_de">
Options +FollowSymLinks -Indexes
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
AddType application/x-httpd-php .php3 .php
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)
# Custom VH settings (if any exist)
SSLEngine on
SSLProtocol ALL -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
SSLCertificateFile /etc/letsencrypt/live/kkip.de/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/kkip.de/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/kkip.de/chain.pem
# Keeping bellow for future upgrades.
# Requires Apache >= 2.4
SSLCompression off
</virtualhost>
# END DOMAIN: kkip.de
################################################################
# DOMAIN: kkip.de
# PORT FORWARD FROM 80 TO: 443
<virtualhost *:80>
ServerName kkip.de
ServerAlias www.kkip.de
ServerAdmin zadmin@localhost
RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
</virtualhost>
# END DOMAIN: kkip.de
# DOMAIN: mhutmacher.com
<virtualhost *:80>
ServerName mhutmacher.com
ServerAlias www.mhutmacher.com
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/mhutmacher_com"
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/mhutmacher_com:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
ErrorLog "/var/sentora/logs/domains/zadmin/mhutmacher.com-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/mhutmacher.com-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/mhutmacher.com-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/mhutmacher_com">
Options +FollowSymLinks -Indexes
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
AddType application/x-httpd-php .php3 .php
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)
# Custom VH settings (if any exist)
</virtualhost>
# END DOMAIN: mhutmacher.com
################################################################
# DOMAIN: kairos.fund
<virtualhost *:80>
ServerName kairos.fund
ServerAlias www.kairos.fund
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/kairos_fund"
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/kairos_fund:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
ErrorLog "/var/sentora/logs/domains/zadmin/kairos.fund-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/kairos.fund-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/kairos.fund-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/kairos_fund">
Options +FollowSymLinks -Indexes
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
AddType application/x-httpd-php .php3 .php
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)
# Custom VH settings (if any exist)
</virtualhost>
# END DOMAIN: kairos.fund
################################################################
# DOMAIN: billiger-tarif.info
<virtualhost *:80>
ServerName billiger-tarif.info
ServerAlias www.billiger-tarif.info
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/billiger-tarif_info"
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/billiger-tarif_info:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
ErrorLog "/var/sentora/logs/domains/zadmin/billiger-tarif.info-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/billiger-tarif.info-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/billiger-tarif.info-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/billiger-tarif_info">
Options +FollowSymLinks -Indexes
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
AddType application/x-httpd-php .php3 .php
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)
# Custom VH settings (if any exist)
</virtualhost>
# END DOMAIN: billiger-tarif.info
################################################################
# DOMAIN: billiger-tarif.eu
<virtualhost *:80>
ServerName billiger-tarif.eu
ServerAlias www.billiger-tarif.eu
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/billiger-tarif_info"
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/billiger-tarif_info:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
ErrorLog "/var/sentora/logs/domains/zadmin/billiger-tarif.eu-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/billiger-tarif.eu-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/billiger-tarif.eu-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/billiger-tarif_info">
Options +FollowSymLinks -Indexes
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
AddType application/x-httpd-php .php3 .php
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)
# Custom VH settings (if any exist)
</virtualhost>
# END DOMAIN: billiger-tarif.eu
################################################################
# DOMAIN: jailbreaklab.eu
<virtualhost *:80>
ServerName jailbreaklab.eu
ServerAlias www.jailbreaklab.eu
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/jailbreaklab_eu"
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/jailbreaklab_eu:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
ErrorLog "/var/sentora/logs/domains/zadmin/jailbreaklab.eu-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/jailbreaklab.eu-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/jailbreaklab.eu-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/jailbreaklab_eu">
Options +FollowSymLinks -Indexes
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
AddType application/x-httpd-php .php3 .php
ErrorDocument 403 /_errorpages/403.html
ErrorDocument 510 /_errorpages/510.html
ErrorDocument 500 /_errorpages/500.html
ErrorDocument 404 /_errorpages/404.html
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)
# Custom VH settings (if any exist)
</virtualhost>
# END DOMAIN: jailbreaklab.eu
################################################################