Namran Hussin Linux Making www and @ point to the same servername in apache

Making www and @ point to the same servername in apache

Sometime we just can’t control the client is accessing our website either
via www or just without www.

In virtualhost setting for apache this can be done by adding the following line into
httpd.conf


    ServerAdmin [email protected]
    DocumentRoot /home/namran/public_html/namran.com
    ServerName namran.com
    ServerAlias www.namran.com

    ErrorLog logs/namran.com-error_log
    CustomLog logs/namran.com-access_log common



Related Post

Playing Counter-Strike in linuxPlaying Counter-Strike in linux

Sometime you feel like to try playing counter-strike in linux.. follow these two link .. and hack your way to install and play with it.. http://halflife2.filefront.com/file/CounterStrike_16_Steam_Installer;18828#Download http://news.softpedia.com/news/How-to-Play-CounterStrike-1-6-in-Linux-38077.shtml Related posts: Playing