Wow, dound a new lead that while checking a bit and I came across the httpd.conf ....
Downloaded it and found this:
Code:
<VirtualHost XX.XXX.XXX.XX:80>
ServerName domain.tld
ServerAlias www.domain.tld
DocumentRoot /home/USERNAME/public_html
ServerAdmin [email protected]
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/domain.tld combined
CustomLog /usr/local/apache/domlogs/domain.tld-bytes_log "%{%s}t %I .\n%{%s}t %O ."
## User USERNAME # Needed for Cpanel::ApacheConf
UserDir enabled USERNAME
<IfModule mod_suphp.c>
suPHP_UserGroup USERNAME USERNAME
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/USERNAME:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule sapi_apache2.c>
php_admin_value open_basedir "/home/USERNAME:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
</IfModule>
<IfModule !mod_disable_suexec.c>
<IfModule !mod_ruid2.c>
SuexecUserGroup USERNAME USERNAME
</IfModule>
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid USERNAME USERNAME
</IfModule>
<IfModule itk.c>
# For more information on MPM ITK, please read:
# http://mpm-itk.sesse.net/
AssignUserID USERNAME USERNAME
</IfModule>
ScriptAlias /cgi-bin/ /home/USERNAME/public_html/cgi-bin/
# To customize this VirtualHost use an include file at the following location
# Include "/usr/local/apache/conf/userdata/std/2_2/USERNAME/domain.tld/*.conf"
</VirtualHost>
right below this entry I find (I guess) my strangely created subdomain:
Code:
<VirtualHost XX.XXX.XXX.XX:80>
ServerName www.domain.tld
ServerAlias www.www.domain.tld
DocumentRoot /home/USERNAME/public_html/www
ServerAdmin [email protected]
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/www.domain.tld combined
CustomLog /usr/local/apache/domlogs/www.domain.tld-bytes_log "%{%s}t %I .\n%{%s}t %O ."
## User USERNAME # Needed for Cpanel::ApacheConf
UserDir enabled USERNAME
<IfModule mod_suphp.c>
suPHP_UserGroup USERNAME USERNAME
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/USERNAME:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule sapi_apache2.c>
php_admin_value open_basedir "/home/USERNAME:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
</IfModule>
<IfModule !mod_disable_suexec.c>
<IfModule !mod_ruid2.c>
SuexecUserGroup USERNAME USERNAME
</IfModule>
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid USERNAME USERNAME
</IfModule>
<IfModule itk.c>
# For more information on MPM ITK, please read:
# http://mpm-itk.sesse.net/
AssignUserID USERNAME USERNAME
</IfModule>
ScriptAlias /cgi-bin/ /home/USERNAME/public_html/www/cgi-bin/
# To customize this VirtualHost use an include file at the following location
# Include "/usr/local/apache/conf/userdata/std/2_2/USERNAME/www.domain.tld/*.conf"
</VirtualHost>
Besides that here is the server alias
www.www.domain.tld it looks fine.
The Problem is, when i check the named folder where I should change the stuff: "/usr/local/apache/conf/userdata/std/2_2/USERNAME/domain.tld/*.conf" I end at /usr/local/apache/conf/userdata/std/2_2/ and there is just one other user, not the one I need.
I could find that I have to create the folders and a *.conf file myself ... so update.conf it would be... but HOW to enter there now my needed updates? Somehow for a newbie there is not really something to be found that one can understand...
As I had edited all files inside /var/cpanel/userdata/username and used these comands to rebuild httpd.conf
Code:
cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak101021
/scripts/rebuildhttpdconf
/etc/init.d/httpd restart
i thought i should be good to go, but still I have
http://domain.tld/ und
http://www.domain.tld/ connected...
So this whole thing is very frustrating, as it seemed to be something very easy after I had found these config files... but where does it get stuck?