ICANN’s WHOIS Accuracy program validation changes

As per ICANN’s WHOIS Accuracy program, every domain name registered requires validation of certain contact information fields. The validation checks are as follows:

• Telephone numbers: Minimum of 4 and Maximum 12 digits
• Telephone country codes: Minimum of 1 and Maximum of 3 digits
• A telephone number cannot start with “0”
• Zip codes will be based on country formats (For example :- In India the zip code is 6 digits, in the USA it’s 5 digits and in the UK it would be a 7 character hybrid zip code of digits and alphabets like this ‘SW1A 0AA’. This would differ for different countries)

How this may impact you?

1. When registering a domain it creates a WHOIS contact, if the contact detail validation fails, then the domain creation will not be successful. If you are attempting to create a contact and enter an invalid ZIP code or phone country code, you will get an error message.

2. You will not be able to set invalid contacts as default contacts under the customer account through Control Panel.

3. You will be able to use the contacts/modify contact to update the ZIP and country code.

Please note: As part of the ICANN mandate for contact information the following actions will be taken in Phase Three post 8th October, 2017.

1. Any attempt to register a domain name with invalid contact information will fail.

2. If the contact in use is invalid, there will be an alert in the Order Details view asking you to fix the information.

3. We will block attempts to associate an invalid contact with any domain name.

4. Any domain name that has an invalid contact, will not be able to be moved to any other registrar until details on that contact are validated.


Welcome 2017! We wish you all a wonderful and fruitful New Year.

We have many great new changes to announce for 2017 that should help you maintain a prosperous website with as few restrictions as possible. Most hosts have a large amount of restrictions on their users; we pride ourselves by having as few as possible while still maintaining a secure environment.

For 2017 we have added these great features and they are all free to use.

* We would like to begin with our new and FREE website builder; we have teamed up with SiteMush whom produce a one of a kind website builder based on WordPress themes. It is amazing and very easy to use; it has about a 30 minute to 1 hour learning curve after which you can produce SEO friendly websites within a short period of time. We offer it to our users for free.

* In your cPanel you have the ability to choose your own PHP versions, its modules and the php.ini settings, now we are very happy to announce you now have the ability to choose: a Ruby and Python version. These might not be of use to those whom aren’t into developing their own scripts but to the developers this is a huge addition. You will find the icons in your cPanel.

* Metrics – In your cPanel you have a resource usage overview, This gives you Resource Usage Overview so you can watch were your website is overusing its resources, this is a good idea in case your usage grows so much you will be prepared to grow with it.

* With IDC Thailand systems we dedicate resources to each user that no other user can use, if a single user depletes all of their resources their website slows down while the rest keep going unaffected. We provide a large amount of resources per user which in many cases is 4x the amount other shared hosts provide.

* Spam mail, we have added a new spam system with artificial intelligence, the system learns as time goes on. Because of user settings and how users deal with their spam mail. There is a section in your cPanel mail settings to configure spam and to also create whitelists/blacklists, you can create a strong deterrent against spam by taking a little time to configure what is good mail and what is not.

*Gmail “Remote”, if you use Google mail and prefer your mail to be sent there then you can use this to automatically set it up for you with a few clicks.

* FileCleaner – Scan your account for unused or forgotten files. Run a scan and you will know within seconds how much disk space you can clean up.


How to delete “some file” files from all accounts

Let’s use the error log for this example but you can substitute any file.

The error_log file saves the error logs of a account / user / website. There can be multiple error_log file under one user / account / website.

These error_log files may consume lots of space on your server. Sometimes the size of error_log files are in GB. So, you may want to delete all error_log files to free up some space on server.

Login in server via SSH as root and execute following command:

find /home -type f -name error_log -exec rm -f {} \;

The above command will search for error_log files in /home directory and delete them. Thus it will delete all error_log files under all users / accounts / cPanel accounts / websites.


1) This command can take lots of time to complete depending on size of your /home directory. Sometimes it may take 10-30 minutes to complete.

2) When required the server will automatically create new error_log files.

WordPress – How to serve static content from a cookieless domain

If you’re serious about optimizing a WordPress website for speed, then you need to setup your website to serve the static content, such as images and CSS files, from a cookieless domain. This will speed up your page loads by reducing unnecessary traffic and distributing the traffic across more two addresses instead of one, working around the limit that browsers place on how many simultaneous requests can be made on each address.

As described by Yahoo!, when the browser requests a static image and sends cookies with the request, the server ignores the cookies. These cookies are unnecessary network traffic.

The steps below detail how to configure your WordPress install to serve static content from a cookieless domain.

Step 1: Create a subdomain using cPanel for the static content

The steps below are for cPanel managed websites. The process may be different depending on the hosting environment for your website.

  1.  Log into the cPanel for your website. The address is usually www.website.com/cpanel, and the username and password would have been provided by your host when you first joined.
  2. Under ‘Domains‘, click on the icon for ‘Subdomains’
  3. WordPress- cPanel Hosting
  4. In the ‘Create a subdomain’ box enter static in the ‘Subdomains field and in the ‘Document Root’ field enter the path to the wp-content folder, for example /public_html/wp-content
  5. subdomain
  6. Click on the ‘Create’ button and wait for confirmation that the subdomain has been created
  7. You will now be able to open static.domainname.com and see a blank page

Step 2: Configure WordPress

  1. Using your preferred method, for example FTP or through the cPanel, navigate to the root directory of your WordPress installation and edit wp-config.php
  2. Add the following lines to the top of the file, below the <?php
  3. Replace domainname with the domain name for your website
  4. define("WP_CONTENT_URL", "http://static.domainname.com");
    define("COOKIE_DOMAIN", "www.domainname.com");
    define("WP_PLUGIN_URL", "http://www.domainname.com/wp-content/plugins");
  5. Save the changes to wp-config.php

Step 3: Update existing post content

Now WordPress is configured to serve the static content in wp-content through the static subdomain.

New images added to posts will now automatically use the static subdomain, however existing image paths need to be updated to use the static domain.

  1. Log into the cPanel again
  2. Under ‘Databases’, click on the icon for ‘phpMyAdmin’
  3. Expand the database for the WordPress installation and click on the posts table
  4. Click on the ‘Inline’ link, then in the text box enter the following command
  5. Replace domainname with the domain name for your website
  6. UPDATE wp_posts SET post_content = REPLACE(post_content,
  7. Click ‘Go’ to apply the changes
  8. From the WordPress admin, check a few existing posts to make sure images are loading from static.domainname.com

And you’re done – one step closer to WordPress speed perfection!

OPTIONAL: Additional step if your theme uses font awesome icons

If your theme uses font awesome for icons, such as a ‘home’ or ‘search’ icon – you will need to add the following to your .htaccess file to allow the icons to continue to work.

Replace domainname with the domain name for your website


# ——————————————————————————
# | CORS-enabled images |
# ——————————————————————————

<FilesMatch “\.(cur|gif|ico|jpe?g|png|svgz?|webp)$”>
SetEnvIf Origin “:” IS_CORS
Header set Access-Control-Allow-Origin “http://www.domainname.com” env=IS_CORS

# ——————————————————————————
# | Web fonts access |
# ——————————————————————————

# Allow access from all domains for web fonts

<FilesMatch “\.(eot|otf|ttc|ttf|woff)$”>
Header set Access-Control-Allow-Origin “http://www.domainname.com”[:]

Nameserver software version

You did a DNS check and received the below warning message, not to worry.

One or more nameservers responded to version queries. This can be considered a breach of security. If a malicious person or program had access to a version-specific exploit for your DNS server, displaying the version info openly will make their attack much easier. This should be removed or obscured. The nameservers that responded to version queries are

Follow these simple steps to resolve.

  • Login to Shell as the root user of your server or VPS.Open your named configuration file:
    vi /etc/named.conf
  • Look for the options section, that looks something like this:

// Put files that named is allowed to write in the data/ directory:
directory “/var/named”; // the default
pid-file “/var/run/named/named.pid”;
dump-file “data/cache_dump.db”;
statistics-file “data/named_stats.txt”;
/* memstatistics-file “data/named_mem_stats.txt”; */
allow-transfer {“none”;};

  • Add this to the end so it looks the same as below: version “N/A”;
  • // Put files that named is allowed to write in the data/ directory:
    directory “/var/named”; // the default
    pid-file “/var/run/named/named.pid”;
    dump-file “data/cache_dump.db”;
    statistics-file “data/named_stats.txt”;
    /* memstatistics-file “data/named_mem_stats.txt”; */
    allow-transfer {“none”;};
    version “N/A”;

  • Then save the file and restart BIND

Run another DNS test, the only thing that will be reported is what you put in the quotes.

If you have a VPS, or Dedicated Server with IDC Thailand and would like a representative to perform this for you, please contact support.


CloudFlare CDN Railgun

We have deployed the Railgun on our CDN.

What is Railgun?
Railgun is a WAN optimization technology that we offer our hosting customers in partnership with a company called CloudFlare a leading provider of CDN systems.

CloudFlare’s Railgun technology greatly speeds up the delivery of non-cached pages. While CloudFlare automatically caches 65% of the resources needed to make up a page, 35% can’t be cached because the resources are dynamically generated or marked as ‘do not cache’. That 35% is often the initial HTML of the page that must be downloaded first. CloudFlare Railgun speeds this remaining 35%.

What are the benefits of Railgun?
Websites running Railgun show a 143% improvement in HTML load times and a 90% decrease in Time To First Byte (TTFB) responses.

How does Railgun work?
Railgun opens a secure, tunneled connection between the CloudFlare network and your host’s origin server where the connection only sends differences from the last request. This is similar to how video encoding works.

The markup of websites does not change that frequently from one request to the next. Instead of transferring the entire request between CloudFlare and the origin server, Railgun will transfer only the changes in markup from one request to the next. This cuts down on bandwidth, transfer time, and overall page load times. Railgun caches these differences in memory to make page processing as fast as possible.

What kind of sites can use Railgun?
Any website can benefit from the performance improvements Railgun offers, especially dynamic sites.

What much does Railgun cost?
We have partnered with CloudFlare to make Railgun both easy and affordable. If you purchase Railgun directly through CloudFlare, it costs $200/month. However, we have partnered with CloudFlare and are offering Railgun to our customers for free.

How do I enable Railgun on my site?
Log into your Cpanel, click on the CloudFlare icon and follow the simple onscreen instructions. Enabling Railgun takes less than 5 minutes.

What if I’m having issues enabling Railgun?
If you experience issues when enabling Railgun, please contact support and we will assist you right away.

I’m not a CloudFlare customer, can I still use Railgun?
No. You need to be a CloudFlare customer in order to use Railgun. But you are able to do that right through your cPanel and you do not have to pay the $200 monthly costs, the fee is waved by being a customer of IDC Thailand.

I’m seeing an error on my site and I think Railgun is causing it, what should I do?
If you are using Railgun via cPanel, you can turn it off directly from your control panel and see if that resolves your issue. Otherwise, log into your CloudFlare account, go to Performance Settings and turn Railgun off from there. If your issue is resolved then please file a bug report with a detailed description here https://support.cloudflare.com/anonymous_requests/new

Remind me, what is CloudFlare?
CloudFlare is a third party service that we offer to our hosting customers. CloudFlare provides performance, security and availability to web properties. CloudFlare runs a globally distributed network where they automatically cache static content, filter malicious traffic and help offload big spikes in traffic. On average, a site loads twice as fast, uses 65% fewer server resources and has an additional layer of security.

PHP upgraded

PHP upgraded to 5.4, it has reached its end of life which means no further updates will be released from the developers of PHP so at this time PHP has been upgraded to 5.5.29

For those of you on our Thailand based servers you do have an option in your control panel to use older versions of PHP, just go to the PHP selector and choose which version you would like to use, you can also turn off and on modules you would like PHP to use.

If you have any questions please feel free to open a support ticket and we will be happy to assist you.

IDC Thailand