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.

Adding domain - Folder doesn't fetch
#1
Adding domain - Folder doesn't fetch
Hey guys Smile

I have  setuped 3 domains a while ago, they work like a charme Tongue
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
################################################################
Reply
Thanks given by:
#2
RE: Adding domain - Folder doesn't fetch
Have you tried restarting the server? Did you try and restart bind service?
-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:
#3
RE: Adding domain - Folder doesn't fetch
(06-26-2016, 02:59 PM)TGates Wrote: Have you tried restarting the server? Did you try and restart bind service?

I have tried to restart the apache server, when i do that i get an error at line 69 from my config file, i guess because "SSLCompression off". But i think this doesn't matter.
Coincidentally my server run out, at got suspended yesterday. I paid it within 1 hour, but now after i have paid, nothing is reachable, I can ping the server and the domain but when i try to open the websites kkip.de, mhutmachter, kairos.fund it says there is nothing. So now everything seems to killed i tried now to restart the apache server again... didn't work. And now i tried to restart the bind server, did nothing. With my luck it got even worse now none of the 6 sites are working Sad
Reply
Thanks given by:
#4
RE: Adding domain - Folder doesn't fetch
(06-26-2016, 07:28 PM)sento Wrote: I have tried to restart the apache server, when i do that i get an error at line 69 from my config file, i guess because "SSLCompression off". But i think this doesn't matter.
This would be the problem! Or at least part of it. Apache is NOT loading.You need to remove it from the custom vhosts entry (or however you added it) as it is for apache 2.4+ and I believe CentOS 6.7 packages with apache 2.2

It even informs you:
Code:
# Keeping bellow for future upgrades.
# Requires Apache >= 2.4
SSLCompression off
Just comment it out with a # symbol, save and restart apache. Then log into your panel and either comment it out or remove it entirely from your custom vhosts.
-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
Public_html Inside Domain/Subdomain zHostingSolutions 2 4 ,066 07-23-2021, 09:57 AM
Last Post: Nigel
Cannot Create 2nd 'Addon' Domain In Sentora? Error: Invalid backend configuration. Re BattlinThrough 2 5 ,361 07-07-2020, 01:22 PM
Last Post: TGates
How To Add Letsencrypt SSL certificate To Domain Centos 7 franselect 1 4 ,095 07-04-2020, 02:55 AM
Last Post: Feilding Weather

Forum Jump:


Users browsing this thread: 1 Guest(s)