jarred89

Registered
Oct 2, 2006
2
0
151
Hello,
I have hosting and I am doing free hosting but for the domain name i would like it to be a sub domain to the site domain eg. jarred89.thesite.com how do i do this in WHM?

Thanks
Jarred
 

Shinichi Kato

Well-Known Member
Mar 7, 2005
73
0
156
Saitama-ken,japan
cPanel Access Level
Root Administrator
Main >> Account Functions >> Create a New Account
Domain : jarred89.thesite.com
and
Submit Create

Which you want access www.jarred89.thesite.com or jarred89.thesite.com?

EDIT:
vi /usr/local/cpanel/etc/httptemplates/apache1/default

Example1:Not use access www.

!namevirtualhost!
<VirtualHost %ip%>
ServerAlias %serveralias%
ServerAdmin %serveradmin%
DocumentRoot %docroot%
ServerName %serveralias%
!usecannameoff=1!
UseCanonicalName off
!usecannameoff!
!dirprotect=1!
 

jarred89

Registered
Oct 2, 2006
2
0
151
jarred89.thesite.com is an example so how do i create the folder for the peoples stuff to save into or does it do it automatically??
 

intel352

Well-Known Member
Nov 25, 2003
55
0
156
NC, USA
you can't rely on editing the httptemplates template files, they seem to get regenerated by apache on a regular basis