Google Adwords

Just created an google anlytics account for my google site,

there is a promotion for google adwords these days, with free $100 promotion. So I just created an account, and use it to promote

It’s quite powerful, 18 more views today, that’s same amount as past several days. But just there is only one CPC, but it’s priced at $1.6.

Go to google adwords account, change CPC auto to manual mode, then set CPC limit at $0.10.

The CPC limit is for the ranking. But for me, currently I just wanna save money.

set up filezilla ftp sever from home sever

FTP protocol is first draft in 1971, and current specs are from 1985. It’s an ancient technology where NAT, firewalls not there.

As for now, to set up a FTP server from home LAN, some configurations need to be catered as a result.

There are actually two connections for FTP, control connections and data connections. Two modes for data connections, passive mode (for server), and active mode (for server).

Passive mode is recommended,  which is the case, client come to pull data. While port or active mode is server to push data to client.

Settings are actually not complex, but deserve attention and carefulness. To add on the frustration for this is the lack of proper explanation from the internet.

Too much messed info is worse than no info.

For the server set up,

  1. general settings, to specify the listen port, which is default 21. But some ISPs might block this port, including mine. So specify a different port, and NAT it from your external IP to your filezilla server internal ip. lets say port 29000. eg.
  2. (Somewhere most problems seen from internet are due to this) under passive mode settings, specify the external ip address, which is, for my case.
  3. The tricky part, specify the port range, let’s say 30000-40000, and NAT it also. The configuration of this is the data connections of the two FTP connections, other than the control connections, which lying on port 29000.

    A lot of problems seen from internet are due to this, cause other than the listening port, FTP uses another range of ports, for data connections.

refer, Network Configuration
Done this, it works fine.

Apache plus https, set up a secure web site

Another limitation on home ISPs, besides the dynamic IP address, the http default port 80 is blocked.

Using some open port test tools check against my home external IP address, and found out 443, the default https port is still open. So I decide to use the https protocol instead.

This web site is built on top of apache web server, in windows environment. To have apache provide https connections, the apache with ssl support version should be downloaded, and installed first.

  • create the site SSL certificate

After installation, at /bin  directory of apache, there should be a openssl.exe module.  Besides, there is a openssl.conf under /conf folders.

There are three steps to create the certificate.

  1. create the new key
    openssl req –config openssl.conf –new –out ./ssl/best2jj.csr –keyout ./ssl/best2jj.pem
  2. remove the passphrase from the key(for safety)
    openssl rsa -in ./ssl/best2jj.pem -out ./ssl/best2jj.key
  3. Convert request into signed certificate
    openssl x509 -in ./ssl/best2jj.csr -out ./ssl/best2jj.cert -req -signkey ./ssl/best2jj.key -days 365
  • install or configure the certificate

modify the http.conf files, change the setting as below,

  1. enable ssl modules
    as uncomment this line, LoadModule ssl_module modules/
  2. enable ssl configurations
    as uncomment this line, Include conf/extra/httpd-ssl.conf
  3. add these lines at the end of the http.conf
    SSLMutex default
    SSLRandomSeed startup builtin
    SSLSessionCache none
  4. at httpd-ssl.conf, point to the correct certificate and certificatekey files
    SSLCertificateFile “the directory to your cert file just now created/best2jj.cert”
    SSLCertificateKeyFile “the directory to your key file just now created/best2jj.key”

Restart the server, and test using https://yourServerAddress.

Godaddy plus dyndns

This web site is hosted on a home PC. The domain name is registered with <a href=””>godaddy </a>. Most direct and easiest configuration with godaddy is to point to the home pc address, then it’s done. However, it’s not the case for a home pc with non-static ip address. Then dyndns comes into view to work.

Anyone can register a free dyndns host, and point to your home pc ip. One good feature dyndns provides is, there are either routers, or client applications to update the dynamic ip address to dyndns server automatically. In such case, the dyndns registered host can always point to the correct home ip address.

As for godaddy, there is no simple configuration as pointing the registered domain to the dyndns host name. Life is not easy. However, there are CNAME configuration which can be utilized. I have configured the www CNAME for this domain, to point to my dyndns host. As a result, would point to my dynamic ip address in-directly in such way, yet always correctly.

One more add-on for this setting is, won’t works pointing to my home server, instead pointing to the godaddy free parking web site. To correct this, the domain forwarding features can be utilized.

Select manage forwarding under the registered domain, then point to Wait for few minutes, to have the configuration updated to the server, everything now perfect.