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

<VirtualHost *:80>
    ServerAdmin webmaster@namran.com
    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
 
</VirtualHost>

Get Free Email Updates!

Signup now and receive an email once I publish new content.

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Like

Related Post

3 Responses

  1. Uncle Foobar says:

    Hey! Thanks for this! Great walkthrough.

    I just downloaded and played with this myself
    for the first time, and i enjoy getting directions
    for stuff to look at.

    Another alternative to the two part USB files:
    in the readthisfirst file, there is a list of mirrors
    to the ISO worldwide.

    Also: i did the wget app download (you might
    want to “blank out” the first failed attempt)

    Question: where is the “app store” for
    Android stuff? is it an app? is it like Cydia
    for jailbroke iphones?

    I want to walk around in the softs a bit.

    thanks!

    Foob

    Reply
    • namran says:

      Uncle Foobar : ok.. had ‘blank out’ the first failed attempt on the app installation due to typo error of the app url..

      App store for Google Android is available at http://www.android.com/market/

      however.. it may not available at your mobile due to some TELCO / countries restriction..
      please check the local Android user community..
      or just go to http://developer.android.com/community/

      😎

      Reply
  2. ahstod says:

    App Store is not open-sourced, hence not in these kind of builds. You need to have some agreement with google to distribute it on your “phones”.

    You can browse what’s available in the market through the following hack http://www.cyrket.com from the same guy who brought you cydia on the iphone.

    Having said that … those who have rooted android phones … can probably download an app from the market and “share” it with you …

    Reply

Anything to add?

X