Help - Search - Members - Calendar
Full Version: adding the subdomain archive.*
The Planet Forums > Control Panels > cPanel/WHM
JamieD
Hi,

I have come across a very strange problem. A user had added a subdomain to an addon domain within their account. The subdomain is "archive.domain.com" cPanel by default points this domain to /home/user/public_html/archive the user wants the subdomain to point to /home/user/public_html/domain/archive.

This was not a problem for the subdomain "admin.domain.com" I simply altered the httpd.conf file and changed the path. for some reason I can not do the same with "archive.domain.com" when I make the change and try to load the site in a browser I get a 500 Internal Server error.

I have checked the apache error log file and the user error log file but there is nothing relevant in either of these. Is there anything special about the word "archive"?

Is there a way to make cPanel put subdomains of addon domains inside the addondomains folder? So if I were to add google.com as an addon domain the root folder for this would be /home/user/public_html/google. If I then add the subdomain files.google.com the root folder for this would be created in /home/user/public_html/google/files rather than /home/user/public_html/files. This would make far more sense than the current method.

Thanks
JamieD
To add a little more info, I tried adding another subdomain and again altering the root folder. This has the same error 500, for some reason the admin.domain.com subdomain was able to have its location altered without and problem.

Any help would be great.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.