Code:
################################################################
# Apache VHOST configuration file
# Automatically generated by Sentora 1.0.3
# Generated on: 09:20 11th Nov 2015 CET
#==== YOU MUST NOT EDIT THIS FILE : IT WILL BE OVERWRITTEN ====
# Use Sentora Menu -> Admin -> Module Admin -> Apache config
################################################################
Listen 443
Listen 80
# Configuration for Sentora control panel.
<VirtualHost *:80>
ServerAdmin samuelzajakala@hotmail.com
DocumentRoot "/etc/sentora/panel/"
ServerName panel.bydcode.com
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
Require all granted
</Directory>
# Custom settings are loaded below this line (if any exist)
</VirtualHost>
################################################################
# Sentora generated VHOST configurations below.....
################################################################
# DOMAIN: bydcode.com
<virtualhost *:80>
ServerName bydcode.com
ServerAlias www.bydcode.com
ServerAdmin samuelzajakala@hotmail.com
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/bydcode_com"
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/bydcode_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/bydcode.com-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/bydcode.com-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/bydcode.com-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/bydcode_com">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</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: bydcode.com
################################################################
# DOMAIN: clean4less.ie
<virtualhost *:80>
ServerName clean4less.ie
ServerAlias www.clean4less.ie
ServerAdmin dumitrase81@yahoo.com
DocumentRoot "/var/sentora/hostdata/carlos/public_html/clean4less_ie"
php_admin_value open_basedir "/var/sentora/hostdata/carlos/public_html/clean4less_ie:/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/carlos/clean4less.ie-error.log"
CustomLog "/var/sentora/logs/domains/carlos/clean4less.ie-access.log" combined
CustomLog "/var/sentora/logs/domains/carlos/clean4less.ie-bandwidth.log" common
<Directory "/var/sentora/hostdata/carlos/public_html/clean4less_ie">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</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: clean4less.ie
################################################################
This is how my /etc/sentora/configs/apache/httpd-vhosts.conf looks like, I know I'm doing something wrong, but I dont know what, becuase http://bydcode.com and https://bydcode.com exist, but the https:// does not load my WordPress page, but it loads the default Apache index page. Also, if I change the
Code:
<virtualhost *:80>
Code:
<virtualhost *:443>
http://bydcode.com does not work, but https://bydcode.com does work, but the database is not beign loaded.. I know I'm doing something wrong, because I'm a total noob