cPanel: Accessing cPanel through a firewall with cPanel Proxy

By default, cPanel, WHM and Webmail using custom port instead of port 80. Hence, you might not able to access to the cPanel, WHM and webmail through a firewall enabled network such as company, University or public network.

To get this issue fixed with cPanel 11.x and later, you may enable cPanel Proxy which is designed by cPanel to allow you access through normal web port 80.

To enable cPanel Proxy, make sure that you have the following setting enabled in WHM-> Tweak Settings.

– Proxy subdomains
– Proxy subdomain creation
– Proxy subdomain override

To enable proxy domain on account wide,

/scripts/proxydomains –user=<username> add

where username is the cPanel username.

To enable proxy domain on a single domain,

/scripts/proxydomains –domain=<> add

where is your domain name such as

Lastly, to remove the proxy domain, change the “add” to “remove”.

Redirect domain without www to www with web.config

It is been long time user keep on asking how to redirect the domain name with www only from their website.

To get this fixed from IIS web.config file, you may copy the following script to your web.config file to redirect them from without www to www.

<rule name="www redirect" enabled="true" stopProcessing="true">
    <match url=".*" />
        <add input="{HTTP_HOST}" pattern="^[^\.]+\.[^\.]+$" />
        <add input="{HTTPS}" pattern="off" />
    <action type="Redirect" url="http://www.{HTTP_HOST}/{R:0}" />
<rule name="www redirect https" enabled="true" stopProcessing="true">
    <match url=".*" />
        <add input="{HTTP_HOST}" pattern="^[^\.]+\.[^\.]+$" />
        <add input="{HTTPS}" pattern="on" />
    <action type="Redirect" url="https://www.{HTTP_HOST}/{R:0}" />

With the above code, it will redirect you without www to www even you have https configured.

Linux: Generate SSL CSR Key with Apache Linux

Oops.. It is been a while MGe disappeared and here I come back again after long holiday for blogging. 🙂

This article used to guide you to create the CSR(Certificate Signing Request) from your Apache machine.

Web Server: Linux
Web Service: Apache

1. First of all, you will need to create a key pair.

openssl genrsa -out 2048

– Replace the with your domain name.
– The number of 2048 used to determined the bit-length of your certificate, where you are advise to have 2048 and above.

2. You will be asking for the pass phrase and you may enter any strong password.

3.  Next, you will need to generate the CSR.

openssl req -new -key -out

Next, you will be asking for Country Name, State or Province, Locality or City, Company, Organizational Unit, Common Name and Email Address.

4. Get your CSR and purchase the SSL from SSL provider.

Domain Name Speed Benchmark

It is very important to get the fastest Domain Name Benchmark to ensure your best Internet surfing.

Now, you may get this freeware from Gibson Research Corporation as below,

To test the Domain Name Speed benchmark,
1. Download it from here.
2. Select Nameservers tab and a list of DNS information listed.
3. Select on Run Benchmark button and it is now calculating.
4. Now, you can see the Google DNS is the fastest from my end. Lastly, you may select the Conclusions

Request Google Review of your site from Google Webmaster

Many blogger who own their domain name might faced this problem where their site is redirected to Google Safe Browsing site where saying that is being defaced.

To get the site redirected to Google Safe Browsing site stop, you may follow the step as below,

1. Register an account from Google Webmaster.
2. On the Webmaster Tools Home page, select the site you want.
3. Click Diagnostics, and then click Malware.
4. Click Request a review.

References: Google Support

URLVoid, check Website for Viruses, malware and Phishing

For many reason, you might want to check a site reputation if they have been infected by the viruses, malware or phishing scam previously.

Now, you can easily scan the bad reputation site with just enter your domain name from URLVoid website. Simply access to the URL of and you may now check the website reputation.

As the attached image above, you may see that is clean from the status.

Enabled DomainKeys to avoid email marked as spam for Google Apps

Recently Google has just added DomainKey Identified Mail(DKIM) feature to Google Apps domain.

You may refer to the step as below to enable the DomainKey.
1. Log into your Google Apps account with where should be your domain name.
2. Click on the Advanced Tools.
3. Click on Set up email authentication (DKIM).
4. Click on Generate new record.

5. Then click on the Generate button.

6. You will get the information as above and may update it accordingly to your DNS editor.
7. Click on the Start Authentication and you are now with the DKIM enabled.

HELM3 Subdomain not working

Today, I was asked by HaoSiaoKing aka Kwan for this case and I am now sharing the solution.

Scenario: When create a subdomain from HELM3 but all of the script mapping is not created automatically. I tried to use a alternative way to make it working as solution below.

1. The workaround I am using is to replace all of the script mapping back to the subdomain where is it not created by the subdomain.
2. Open IIS6, you shall see the hostname and right click then select the properties.

3. Check the checkbox of “Enable Direct Metabase Edit” and press OK.
4. Go to the directory of “C:\WINDOWS\system32\inetsrv”.
5. Backup the file named MetaBase.xml.
6. Open the file with notepad.
7. Find the domain name from the MetaBase.xml file.
8. Copy the line as below.



9. Find the subdomain.
10. Paste the copied line and replace the ScriptMaps.
11. Restart IIS.

How much of traffic your website can handle?

You might wonder how much of traffic your website can handle, in order to test out if your current hosting package/server could fulfill your need and able to allow your user to surf your website smoothly.

To test out your website could handler how much of the traffic, you may simply visit to, enter your domain name as above image then select the Free Test and run it.

With Free Test, you could only able to test out up to 30 clients. As you can see the result as above, only could support up to 20+ users a time as it is hosted from shared server by now. 🙂

Find out the hosting company of a website

For many purpose, you might want to know which hosting company hosted for a website. All of the time, you may use whois to check it out and now, WhoIsHostingThis provide you more information on the Hosting Company information.

To get it done, just simply go to the and enter the domain name, then click on the find host button and the result will show in a second.

Cool, right?