Tag Archives: servername

Apache Virtual Hosts in Ubuntu

In this tutorial, I’ll show you the steps to configure 3 Apache virutal hosts running on a single EC2 Ubuntu Instance. The three domains, that I’ll use in this tutorial are:

1) linuxsoft.tk
2) rbgeek.tk
3) tendo.tk

DNS setting for these 3 domains are as follows:

Read more of this post

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

After the initial install of Apache server, I got the following error while restarting the Apache service on Ubuntu 12.04:

The solution is really simple, just  add ServerName directive to /etc/apache2/httpd.conf :

 sudo nano /etc/apache2/httpd.conf

Add:

ServerName localhost

Finally restart the Apache server:

sudo /etc/init.d/apache2 restart

Hope this will help you!

Please Remember me in your prayers!

%d bloggers like this: