D
derpyderp
Guest
Hello,
I tried to search on the forum for an answer to my question.. but either the search function is broken (surprise surprise), or there are no threads in the entire forum that contain the word "domain" or "subdomain" which i find hard to believe.
At any rate..
I create a subdomain, and the sub domain doesnt work it always displays the ...
"Server Default page"
I'm not sure what the deal is here. I'm completely lost and i've spent almost 10-15 hours working on something that should work with a single click. But, from what i read about swsoft other places this is very common.
First off, all of the domains are pointed to this server for authoritative dns requests, which means any modifications plesk makes to the zone files will show up to the world. I've gone over the DNS entries manually 4 or 5 times now and everything looks fine, no errors that ive spotted visually anywhere.
So heres what I did,
I added the domain http://www.communicomm.com.au/ with physical hosting, which works fine no problems.
I then created a subdomain with the standard options (php, etc) at http://lists.communicomm.com.au/
and, the sub domain does not work.
Here are the entries plesk created for the sub domain..
<VirtualHost 202.83.85.44:80>
ServerName lists.communicomm.com.au:80
SuexecUserGroup ftp_ccom psacln
ServerAdmin "[email protected]"
DocumentRoot /var/www/vhosts/communicomm.com.au/subdomains/lists/httpdocs
CustomLog /var/www/vhosts/communicomm.com.au/statistics/logs/access_log plesklog
ErrorLog /var/www/vhosts/communicomm.com.au/statistics/logs/error_log
ScriptAlias /cgi-bin/ /var/www/vhosts/communicomm.com.au/subdomains/lists/cgi-bin/
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /var/www/vhosts/communicomm.com.au/subdomains/lists/httpdocs>
<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/communicomm.com.au/subdomains/lists/httpdocs:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/communicomm.com.au/subdomains/lists/httpdocs:/tmp"
</IfModule>
<IfModule mod_python.c>
<Files ~ (\.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
Options +Includes +ExecCGI
</Directory>
</VirtualHost>
Everything looks fine there too.. Which is good, because i cant change any of the virtual host directive for the domain because the poorly coded software just wipes my changes everytime it does anything..
So, wtf is going on?
I'm running apache version 2.2.6-1 on FedoraCore 6 with kernel 2.6.22.9-61
I tried to search on the forum for an answer to my question.. but either the search function is broken (surprise surprise), or there are no threads in the entire forum that contain the word "domain" or "subdomain" which i find hard to believe.
At any rate..
I create a subdomain, and the sub domain doesnt work it always displays the ...
"Server Default page"
I'm not sure what the deal is here. I'm completely lost and i've spent almost 10-15 hours working on something that should work with a single click. But, from what i read about swsoft other places this is very common.
First off, all of the domains are pointed to this server for authoritative dns requests, which means any modifications plesk makes to the zone files will show up to the world. I've gone over the DNS entries manually 4 or 5 times now and everything looks fine, no errors that ive spotted visually anywhere.
So heres what I did,
I added the domain http://www.communicomm.com.au/ with physical hosting, which works fine no problems.
I then created a subdomain with the standard options (php, etc) at http://lists.communicomm.com.au/
and, the sub domain does not work.
Here are the entries plesk created for the sub domain..
<VirtualHost 202.83.85.44:80>
ServerName lists.communicomm.com.au:80
SuexecUserGroup ftp_ccom psacln
ServerAdmin "[email protected]"
DocumentRoot /var/www/vhosts/communicomm.com.au/subdomains/lists/httpdocs
CustomLog /var/www/vhosts/communicomm.com.au/statistics/logs/access_log plesklog
ErrorLog /var/www/vhosts/communicomm.com.au/statistics/logs/error_log
ScriptAlias /cgi-bin/ /var/www/vhosts/communicomm.com.au/subdomains/lists/cgi-bin/
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /var/www/vhosts/communicomm.com.au/subdomains/lists/httpdocs>
<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/communicomm.com.au/subdomains/lists/httpdocs:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/communicomm.com.au/subdomains/lists/httpdocs:/tmp"
</IfModule>
<IfModule mod_python.c>
<Files ~ (\.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
Options +Includes +ExecCGI
</Directory>
</VirtualHost>
Everything looks fine there too.. Which is good, because i cant change any of the virtual host directive for the domain because the poorly coded software just wipes my changes everytime it does anything..
So, wtf is going on?
I'm running apache version 2.2.6-1 on FedoraCore 6 with kernel 2.6.22.9-61