Thanks, ive just realized that the www in the hostname acts as a sub domain for mydomain.com, so that www.mydomain.com
Anyway, Ive left the www in the hostname and tried to create a co-domain as you said, and i get this error
"Table './ispconfigdb/isp_isp_domain' is marked as crashed and should be repaired"
I was messing around with ispconfig in mysql before because i wanted to delete customers but there is no place to delete customers in ispconfig, i may have deleted something i shouldnt have. Can i repair this??