RSS icon


  • Make Money with Downloads +70$/Day

    Posted on March 23rd, 2009 Webmaster 1 comment

    You now this download services that we use every time? Well you can get money from them. How? Let me explain.

    Some download networks like Megaupload, Bitroad, Depositfiles, Easyshare give you money when you a upload file and other people download it.

    The best i have found was Partner Bitroad.net they have the high payment. 70$ for 1000 downloads, it could variate if your downloads don´t come from US, but the less that they guarantee you are 30$/1000.

    If you have a download website you can easy make 70$ per day or even more, and that´s awesome, if you don´t have a website of downloads you can write a e-book or zip some pictures and put into a package in your blog a link to download this files.

    Well, in my opinion this is a good way to make some easy money everything you need is a good file to download.

    Good luck :)


  • Installing lighttpd 1.4.22 as static file server running by proxy with Apache 2.2.3

    Posted on March 21st, 2009 Webmaster 2 comments

    In this tutorial i will show how i have installed my lighttpd to run side by side with my Apache installation.

    First of all let me introduce both, Apache i suppose that everyone nows, its one of the most stable, secure and used web server on the market. Lighttpd is growing, lighttpd is getting famous by the his speed, if look for benchmarks in google you will see that . What a lot of webmasters are doing now is let Apache run the script part, the complicated part, and configuring lighttpd as a static file server, a server for .js, .gif, .jpg, .css this type of files, www.gwebtools.com is running this way the website speed had increased a lot.

    I am running on CentOS

    Installing and configuring lighttpd

    1. wget http://www.lighttpd.net/download/lighttpd-1.4.22.tar.gz
    2. gunzip lighttpd-1.4.22.tar.gz
    3. tar -xvf lighttpd-1.4.22.tar
    4. Inside the lighttpd folder run ./configure maybe you get some dependencies errors so you will need to download it with yum install “dependencie-lib”
    5. make all && make install
    6. if you get no errors still here, type the command lighttpd and you will get some message like this 2009-03-21 09:33:34: (server.c.552) No configuration available. Try using -f option.
    7. Now its time to create your lighttpd.conf file, type mkdir /etc/lighttpd, after that inside your lighttpd folder type cp doc/lighttpd.conf /etc/lighttpd/lighttpd.conf
    8. Ok, now you have a default conf file, you just need to change the default port of the lighttpd web server.
    9. Set server.port = 81, this is necessary because apache already runs on port 80, see the log path to see if they are right for your *nix distribution
    10. Set server.document-root = “Your www folder”, in my case /var/www/vhosts/gwebtools.com/httpdocs
    11. Now start the lighttpd server running lighttpd -f /etc/lighttpd/lighttpd.conf

    Configuring apache to run on proxy mod

    1. Enable mod proxy on httpd.conf,
      LoadModule proxy_module modules/mod_proxy.so
      LoadModule proxy_http_module modules/mod_proxy_http.so
      LoadModule proxy_connect_module modules/mod_proxy_connect.so
    2. In your virtual host config you need to edit conforming your needs, for this blog.gwebtools.com that is running with wordpress i do the following
      ProxyRequests Off
      ProxyPreserveHost On
      ProxyPass /wp-content http://0.0.0.0:81/wordpress/wp-content
      ProxyPass /wp-includes http://0.0.0.0:81/wordpress/wp-includes
      ProxyPassReverse / http://0.0.0.0:81/
    3. Now every request to static files, js, images from my blog, lighttpd will be the server how will attend to the request.
    4. Now everything is running fine and faster.

    Creating a script file to manage lighttpd process

    #!/bin/sh
    
    # Author: Nathaniel Brown
    # Date: December 16, 2005
    # URL: http://nshb.net/lighttpd-restart-script.html
    # Version: 1.0
    # License: MIT
    
    #Binary Paths
    CAT="/bin/cat"
    PS="/bin/ps"
    HTTPD="/usr/local/sbin/lighttpd"
    
    # Modifiy this line for each install
    PATH="/etc/lighttpd/"
    LIGHTTPD_CONF=$PATH"lighttpd.conf"
    PIDFILE="/var/run/lighttpd.pid"
    
    PID=0
    if [ -e $PIDFILE ]; then
        PID=`$CAT $PIDFILE`
        if [ "x" == "x$PID" ]; then
            PID=0
        fi
    fi
    
    case "$1" in
        start)
            if [ 0 -ne $PID ]; then
                running=`$PS --pid $PID | grep $PID`
                if [ $running ]; then
                    echo "lighttpd is already running"
                    exit 1
                fi
                rm $PIDFILE
                PID=0
            fi
            $HTTPD -f $LIGHTTPD_CONF
            ;;
        stop)
            if [ 0 -eq $PID ]; then
                echo "lighttpd was not running"
                exit 1
            fi
            kill $PID
            tries=""
            while [ -e $PIDFILE ]; do
                if [ "x$tries" == "x.........." ]; then
                    break
                fi
                sleep 2
                tries=".$tries"
            done
            if [ -e $PIDFILE ]; then
                echo "lighttpd did not go gentle into that good night, murdering"
                kill -9 $PID
                rm $PIDFILE
            fi
            ;;
        restart)
            $0 stop
            $0 start
            ;;
        reload)
            if [ 0 -eq $PID ]; then
                echo "lighttpd was not running"
            fi
            kill -HUP $PID
            ;;
        status)
           if [ 0 -eq $PID ]; then
                echo "lighttpd is not running"
           fi
           if [ 0 -ne $PID ]; then
                echo "lighttpd (pid $PID) is running..."
           fi
           ;;
        *)
            echo "Usage: "`basename $0`" (start|stop|restart|reload|status)"
            exit 1
            ;;
    esac

  • Link Exchange – 2000 uniques daily – Webmaster Related Blog

    Posted on March 19th, 2009 Webmaster 1 comment

    I wanna exchange links with this blog, this blog is part of the www.gwebtools.com website. Receiving  2000 uniques visitors daily. I wanna exchange links with blogs and websites, fell free to contact me.


  • Speeding Up Adsense and Analytics Integration Process

    Posted on March 18th, 2009 Webmaster 1 comment

    If you dont want to wait to google enable the integration option to every one you can submit your website to Google.

    Last week i have submited my website to Google for the Adsense and Analytics Integration. Yesterday my account was enabled, i am so happy now.

    Simple use this link: http://spreadsheets.google.com/viewform?key=pD9DqwPQLWy_y9v1JWdDFSQ

    Post comments here about how long it takes to you. For me it was just one week.


  • Using Google Keyword Tool to increase traffic and earnings

    Posted on March 16th, 2009 Webmaster No comments

    If you really want to increase your website traffic and earnings coming from google, one of the tools that really can help you is the Google Keyword Tool.

    Google Keyword Tool

    Understanding results

    1. Choose the language of the content of your website
    2. Choose the country where you want to analyze visitors and ppc for respective keywords
    3. Choose if you want to discover the best keywords for your page, or if you want reports by specific keywords
    4. The keyword or the url (in the example the keyword)
    5. Medium estimated PPC for the specific keyword “seo professional” and synonims
    6. Competitors
    7.Monthly medium searches

    How can you use these results?

    1. To explore keywords with more searches and less competitors to increase your website visitors
    2. Increase your earnings with more good paying keywords
    3. Track wich keywords google is suggesting to your competitors
    4. Analyze best keyword cost / benefiet

    You can  use this tool to a lot of stuff, i can suggest you guys use it to discover good paying niches with less competition and then have really good earnings.

    Good luck :P


  • Using Compete.com API in your Website

    Posted on March 9th, 2009 Webmaster 8 comments

    Compete.com is a company that provides web analytics, visitors, keywords driving traffic and more. Some of the results that compete.com offers are just for paying users other no.

    In this post i will show you how can you use the api from Compete.com in your website, like i did in my http://whois.gwebtools.com/compete.com.

    1 step: Register for a developer user account.

    Register Compete Screen

    Register Compete Screen

    2 step: Register your application to get your personal API key.

    Register App

    Register App

    3 step: Start coding using your API key.

    Sample Call

    http://api.compete.com/fast-cgi/MI?d=google.com&ver=3&apikey=1234567890&size=large

    Sample Result

    <ci>
    <dmn>
    <nm>google.com</nm>
    <trust caption=”Trust”>
    <val>green</val>
    <link>http://toolbar.compete.com/trustgreen/google.com</link>
    <icon>http://home.compete.com.edgesuite.net/site_media/images/icons/trust_green_53.gif</icon>
    </trust>
    <rank caption=”Profile”>
    <val>2</val>
    <link>http://toolbar.compete.com/siteprofile/google.com</link>
    <icon>http://home.compete.com.edgesuite.net/site_media/images/icons/profile_3_53.gif</icon>
    </rank>
    <metrics caption=”Profile”>
    <val>
    <mth>12</mth>
    <yr>2006</yr>
    <uv>
    <ranking>2</ranking>
    <count>115,120,111</count>
    </uv>
    </val>
    <link>http://toolbar.compete.com/siteprofile/google.com</link>
    <icon>http://home.compete.com.edgesuite.net/site_media/images/icons/profile_3_53.gif</icon>
    </metrics>
    <deals caption=”Deals”>
    <val>1</val>
    <link>http://toolbar.compete.com/deals/google.com</link>
    <icon>http://home.compete.com.edgesuite.net/site_media/images/icons/deals_on_53.gif</icon>
    </deals>
    </dmn>
    </ci>

    How to parse it?

    You can develop your on xml parser, but if you use PHP or .NET it is really not necessary you can use the scripts that Compete.com provides to you.

    .NET wrapper

    PHP5 wrapper

    PHP5 wrapper in the PEAR repository

    More info access developer zone from Compete.com


  • Installing PHP XCache in 11 Steps

    Posted on March 5th, 2009 Webmaster No comments

    XCache is a a cache system for php scripts, it will increase a lot your php pages load speed. (Official Web Site)

    In this post i will not discuss about how it works and what it does, i just tell you guys how to install it in few steps.

    1º – download the last stable version http://xcache.lighttpd.net/pub/Releases/1.2.2/xcache-1.2.2.tar.gz
    2º – tar -xvf xcache-1.2.2.tar.gz
    3º – cd xcache-1.2.2
    4º – phpize
    5º – ./configure –enable-xcache
    6º – make
    7º – make install
    8º – cp xcache.ini /etc/php.d
    9º – vim /etc/php.d/xcache.ini
    10º – uncomment and set xcache.size = 64M
    11º – restart apache and its done!

    Obs.: Sometimes you will need to install php-devel packages if they are not currently installed on your system. (yum install php-devel)


  • Understanting robots.txt in 5 minutes

    Posted on March 1st, 2009 Webmaster 2 comments

    A lot of people have a lot of doubts about the function of the robots.txt file and the right configuration of this file.
    I will explain in a few words what the real fuction and how to configure the robots.txt, just the basics.

    The robots.txt file always need to be in the root / of the domain, example www.gwebtools.com/robots.txt, its a standard for search engines.

    Good search engines like google, yahoo, live, ask and many others will respect the options that you configure in your robots.txt, bad search engines like exploits crawler will not respect.

    The robots.txt is a simple text file to help the search engines index only relevant content about your website.

    Configuring the robots.txt is very easy, the options are:

    User-agent: In this option you can put the crawler name like Googlebot or * for all crawlers, that means the configurations will be applied only to those crawlers.
    Disallow: With this option you specify wich folders, pages you don´t want the crawler access and index.
    Allow: With this option you specify wich folders, pages the crawler can access and index (by default it index all).
    Sitemap: You can specify the url of your sitemap.

    –  robots.txt example 01 begin –
    User-agent: *
    Disallow: /
    Allow: /list-of-pages.php
    Allow: /contact.php
    – end of robots.txt example 01 –

    Explanation: In this example the rules apply to all crawlers, and just two pages can be indexed list-of-pages.php and contact.php.

    –  robots.txt example 02 begin –
    User-agent: Googlebot
    Allow: /
    Disallow: /downloads
    Allow: /downloads/signup.php
    – end of robots.txt example 02 –

    Explanation: In this example the rules apply just to googlebot all urls can be indexed, except the folder /downloads, but the page /downloads/signup.php can be indexed.

    Easy. Doubts send comments.


  • Apache .htaccess – Subdomain redirect rules

    Posted on February 26th, 2009 Webmaster 3 comments

    In the begin of my website i have had a lot of problems to find a good working .htaccess configuration file. I need some redirect rules from specific folders from a subdomain to redirect to specific folder in other subdomain, passing parameters.

    I need this type of redirect because my website is multilangue, so i dont want folders on portuguese associated with the english subdomain by example.

    This code was really hard to get working, but here it is for you guys, hope it be useful.

    – part of the .htacces file of gwebtools.com –

    <IfModule mod_rewrite.c>
    RewriteEngine On

    #redirect gwebtools.com to www.gwebtools.com
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www..*
    RewriteCond %{HTTP_HOST} !^$
    RewriteCond %{HTTP_HOST} ^([^.]*).(com|com/)
    RewriteRule ^.*$ http://www.%1.%2%{REQUEST_URI} [R=301,L]

    #if subdomain pt or whois and folder port-scanner redirect to pt.gwebtools.com/scanner-porta, with parameters
    RewriteCond %{HTTP_HOST} ^(pt|whois)\.gwebtools\.com
    RewriteRule ^port-scanner/* http://pt.gwebtools.com/scanner-porta$1 [R=301,L]

    </IfModule>

    The above code is running on this site www.gwebtools.com!


  • My First Post

    Posted on February 25th, 2009 Webmaster No comments

    Hello visitor,
    this blog is part of the www.gwebtools.com website, the website is making 2000 uniques daily and was time to create a blog.

    On this blog guys i will share useful stuff. Things you can use to optimize your website.

    Sign my rss: http://blog.gwebtools.com/feed/