apache - httpd virtualhost - subdomains -


i'm having issue setting/adding sub domains.. apache2(httpd)..

i have in httpd.conf

namevirtualhost *:80  <virtualhost *:80>     serveradmin stitofte@homiecraft.pro     documentroot /var/www/html/homiecraft     servername www.homiecraft.pro     serveralias homiecraft.pro </virtualhost>  <virtualhost *:80>    servername stats.homiecraft.pro    serveralias www.stats.homiecraft.pro    serveradmin stitofte@homiecraft.pro    documentroot /var/www/html/stats </virtualhost> 

homiecraft.pro works fine...

but stats.homiecraft.pro doesn't work @ all.... have made dns record.. , made "stats" point listening address... still doesn't work...

any nice... have had setup before... reason can't work time...

normally problem in dns record, check subdomain add @ dns record , check type, sets cname , main domain type a.

and check ip direction subdomain

change serveralias @ subdomains quit www.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -