Sunday, December 19, 2010

www subdomain not working

It  is my experience in cent os.
edit the  file httpd.include, which will be located at /var/www/vhosts/DOMAIN_NAME/conf
vi httpd.include

search subdomain configuration and after:
ServerName sub.domain.com:80
 then add:
ServerAlias www.SUB.DOMAIN.com

and RESTART Apache service

LinkWithin

Related Posts Plugin for WordPress, Blogger...