Sentora Support Forums
[Fresh Install] subdomain vhost issue - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: [Fresh Install] subdomain vhost issue (/showthread.php?tid=3128)



[Fresh Install] subdomain vhost issue - Draex - 10-08-2016

Trying to figure out an annoying issue, I have a fresh install of Debian 8 on a brand new dedicated server. Install went find using DrFeelGoods script (found here http://forums.sentora.org/showthread.php?tid=2027)

Everything appeared to be working fine up to vhost creation by the daemon for sub-domains.

It is creating the vhosts, but they are losing there prefix, top level domains generate vhosts fine.


ie test.knktech.com gets created like

Code:
# DOMAIN: knktech.com <virtualhost *:80> ServerName knktech.com ServerAdmin admin@Knktech.com DocumentRoot "/var/sentora/hostdata/knktech/public_html/test_knktech_com" php_admin_value open_basedir "/var/sentora/hostdata/knktech/public_html/test_knktech_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,$ ErrorLog "/var/sentora/logs/domains/knktech/knktech.com-error.log" CustomLog "/var/sentora/logs/domains/knktech/knktech.com-access.log" combined CustomLog "/var/sentora/logs/domains/knktech/knktech.com-bandwidth.log" common <Directory "/var/sentora/hostdata/knktech/public_html/test_knktech_com">  Options +FollowSymLinks -Indexes  AllowOverride All  Require all granted </Directory> AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript AddType application/x-httpd-php .php3 .php ErrorDocument 404 /_errorpages/404.html ErrorDocument 403 /_errorpages/403.html ErrorDocument 510 /_errorpages/510.html ErrorDocument 500 /_errorpages/500.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: knktech.com

I have another server (that I was going to retire, this one is its replacement) Running Ubuntu Server 14.04LTS with Sentora 1.0.3 that this issue is not present on.

Any advice would be much appreciated as recreating all of the vhosts by hand, and then on a ongoing basis would be a huge pain in the ass.


RE: [Fresh Install] subdomain vhost issue - TGates - 10-08-2016

Due to you using a custom un-official OS installation I'm not sure any staff can help you out but hopefully somebody else has tried and fixed this for your installation. Good Luck and please post your fix once you resolve it Wink