Posted by: M'Creative | 3 August 2011

Virtual Hosts Apache2 Problem on Ubuntu Server 11.04


Palangkaraya – 4 Ramadhan 1432 H

Virtual Hosts Apache2 Problem on Ubuntu Server 11.04

# /etc/init.d/apache2 restart

* Restarting web server apache2
apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
… waiting apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]

1. Pastikan virtual host telah ditambah. Edit file /etc/hosts

#nano /etc/hosts

127.0.0.1 localhost
127.0.0.1 tulodho.com
192.168.1.2 tulodho.com

2. Edit file /etc/apache2/httpd.conf

#nano /etc/apache2/httpd.conf

//tambahkan ServerName

ServerName tulodho.com

Restart apache

#/etc/init.d/apache2 restart

* Restarting web server apache2 … waiting [ OK ]

Alhamdulillah. Selesai


Responses

  1. thx wat infonya mas, . .
    http://icalredhat.co.cc/


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: