Wednesday, October 10, 2012

ping: unknown host

In the resolv.conf file, we have the ip address of our name servers. If for some reason, we may have missed the name server value in the resolv.conf file. Then we will have the above error message. To solve this problem, you need to go through the below steps:
Go to the below file:
/etc/resolv.conf

And write the following, this is a sample file, you need to write your server name and the name server ip addresses.
search cyberciti.biz
nameserver 202.54.1.10
nameserver 202.54.1.11

For example, for Rackspace, we have the below name server ip addresses :
nameserver 173.203.4.8
nameserver 173.203.4.9


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

No comments: