Subdomain become alias of main domain when rebuildhttpconf ?

WebScHoLaR

Well-Known Member
Dec 14, 2005
508
3
168
Planet Earth
I would check the domain entry in /var/cpanel/userdata/USERNAME/main and place the entry in subdomains section if its under parked domains. /var/cpanel/userdata is used as a data store for httpd.conf and httpd.conf is rebuilt based on the information stored there.
 

excessnet

Well-Known Member
Aug 7, 2006
57
0
156
Quebec, Canada
cPanel Access Level
Root Administrator
hehe, that's exactly that...

look at /var/cpanel/userdata/ (you can grep to search)
(Optional) you an "Reset" userdata : /usr/local/cpanel/bin/userdata_update --reset
then, re-run rebuildhttpd : /scripts/rebuildhttpconf

Should be ok.

Sorry for not having posted the solution.