I am trying to set-up some virtual hosts on a fresh install of Ubuntu 12.04 and not getting expected results. I am using this tutorial which I have used before without fail.
The challenge seems to come with restarting apache.
$> sudo service apache2 restart
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1 for ServerName
.. waiting apache2: Could not reliably determine the server's fully qualified domain name, using
127.0.1.1 for ServerName
If I go through all of the steps, the alias I am trying to establish renders the root of localhost in my browser not the path set in sites available file.
Attempting to troubleshoot this, I removed the site with a2dissite and removed the site in /etc/hosts. Restarting apache as above, I receive the same error result. So it would appear something is not working properly in the first place, never mind attempting to add more hosts.
/etc/hosts content without additional hosts, rendering error messages found above:
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
Excerpt for the sites-available directory for lh-test_site
<Directory /var/www/test_site/ >
Options Indexes FollowSymLinks MultiViews
allow from all
6 Months Ago
Related Article:Installing SQL Developer on Ubuntu 12.04
is a Linux and Unix discussion thread by Anark10n that has 2 replies, was last updated 2 months ago and has been tagged with the keywords: sql, developer, ubuntu, 12.04, installation.
Thanks for the input. Your advice helped and pointed out a flaw in the how-to I used to set-up all of the server aliases on my previous install of Ubuntu. Not one of those had a ServerName directive and they worked.