All our subdomains *.domain.com are redirecting to domain.com/index.php.
Checked htaccess files in all subdomains for such a rule, no such.
It could be that the third-party script we use does something like this due to some misconfiguration, but if that was the case, new blank subdomains wouldnt redirect to root.
This among other things, is what the httpd.conf has:
1.
Does this explain anything - maybe since all subdomains point to the root public_html, it works that way?
If that's what is wrong, then how do I fix it - given that editing the httpd.conf file is not to be done?
The beta subdomain was merely pointing to the directory /home/user1/public_html/beta/
Is this a case of "addon" subdomain being mapped incorrectly as a "user" subdomain?
2.
When i tried deleting and re-creating the beta subdomain to point to /home/user1/public_html/beta from CPanelX - deletion looked successful at first,
but on attempting to create it again, it said "domainadmin-exists: beta.domain.com"
3.
I recently did a rebuild of EasyApache to enable mod_security, mod_deflate, mod_usertrack and disable frontpage extensions.
Is there some post-build process needed to reconfigure Apache ?
Related question: Is there a simple tutorial explaining virtual hosts + subdomains ?
The Apache manual isn't the easiest and my Google skills are failing me on this one.
Thanks in advance,
Dave
Checked htaccess files in all subdomains for such a rule, no such.
It could be that the third-party script we use does something like this due to some misconfiguration, but if that was the case, new blank subdomains wouldnt redirect to root.
This among other things, is what the httpd.conf has:
Code:
<VirtualHost x.x.x.x:80>
ServerName domain.com
ServerAlias [url]www.beta.domain.com[/url] [url]www.test.domain.com[/url] [url]www.domain.com[/url] test.domain.com beta.domain.com
DocumentRoot /home/user1/public_html
ServerAdmin [email][email protected][/email]
Does this explain anything - maybe since all subdomains point to the root public_html, it works that way?
If that's what is wrong, then how do I fix it - given that editing the httpd.conf file is not to be done?
The beta subdomain was merely pointing to the directory /home/user1/public_html/beta/
Is this a case of "addon" subdomain being mapped incorrectly as a "user" subdomain?
2.
When i tried deleting and re-creating the beta subdomain to point to /home/user1/public_html/beta from CPanelX - deletion looked successful at first,
but on attempting to create it again, it said "domainadmin-exists: beta.domain.com"
3.
I recently did a rebuild of EasyApache to enable mod_security, mod_deflate, mod_usertrack and disable frontpage extensions.
Is there some post-build process needed to reconfigure Apache ?
Related question: Is there a simple tutorial explaining virtual hosts + subdomains ?
The Apache manual isn't the easiest and my Google skills are failing me on this one.
Thanks in advance,
Dave