Warning: include(templates/header.php) [function.include]: failed to open stream: No such file or directory in /home/cyberkios/domains/cyberkios.com/public_html/wp-content/themes/inove/header.php on line 62

Warning: include() [function.include]: Failed opening 'templates/header.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/cyberkios/domains/cyberkios.com/public_html/wp-content/themes/inove/header.php on line 62
Home > Tips & Trick > apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

Mungkin anda pernah menemui error ketika anda menginstall apache 2 di box linux anda, error nya seperti ini :

apache2: Could not determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName

Untuk mengatasi masalah ini anda tinggal menambahkan baris NameServer di httpd.conf

sudo vi /etc/apache2/httpd.conf

Kurang lebi isinya seperti ini

# ServerName is to be specified to avoid warning during reload
ServerName serverku

Setelah itu anda coba restart apache untuk lihat hasilnya.

/etc/init.d/apache2 restart

* Forcing reload of apache 2.0 web server… [ ok ]

Kalau sudah keluar tulisan seperti di atas berarti sudah oke.:)

Bookmark and Share

Categories: Tips & Trick Tags:

Warning: include(templates/comments.php) [function.include]: failed to open stream: No such file or directory in /home/cyberkios/domains/cyberkios.com/public_html/wp-content/themes/inove/single.php on line 58

Warning: include() [function.include]: Failed opening 'templates/comments.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/cyberkios/domains/cyberkios.com/public_html/wp-content/themes/inove/single.php on line 58