Hosts file already has localhost pointing to 127.0.0.1.

What are FQDN's or singletons?

On Fri, Jun 1, 2012 at 12:58 AM, Robert Nesius <nesius at gmail.com> wrote:

> I haven't tried this with localhost before. Try adding another alias to
> the machine in /etc/hosts and using that?  Looks like apache is having a
> hard time working backwards from the loopback ip to a hostname to match
> against your rule.  Hmm - come to think of it I think all of my
> VirtualHosts are in fact FQDNs, not singleton hostnames.
>
> -Rob
>
>
> On Fri, Jun 1, 2012 at 12:51 AM, Craig Rosenblum <crosenblum at gmail.com>wrote:
>
>> Having problems lol.
>>
>> It keeps wanting me to specify a domain name, and i just want it to be
>> just localhost:8082
>>
>> For ease of folder permissions, i created a www folder inside my
>> /home/username folder.
>>
>> NameVirtualHost *:8082
>>
>> <VirtualHost *:8082>
>>    ServerName localhost
>>    DocumentRoot /home/craig/www/wbm
>>
>>    # add the following two lines if you want vhost-specific logging
>>    ErrorLog /ver/log/apache2/example.com-error
>>    CustomLog /var/log/apache2/example.com-access combined
>> </VirtualHost>
>>
>>
>> apache2: Could not reliably determine the server's fully qualified domain
>> name, using 127.0.1.1 for ServerName
>> [Fri Jun 01 00:51:20 2012] [warn] NameVirtualHost 127.0.0.1:0 has no
>> VirtualHosts
>> [Fri Jun 01 00:51:20 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
>> apache2: Could not reliably determine the server's fully qualified domain
>> name, using 127.0.1.1 for ServerName
>> [Fri Jun 01 00:51:20 2012] [warn] NameVirtualHost 127.0.0.1:0 has no
>> VirtualHosts
>> [Fri Jun 01 00:51:20 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
>> Action 'start' failed.
>> The Apache error log may have more information.
>>
>>
>> _______________________________________________
>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
>> tclug-list at mn-linux.org
>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>>
>>
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20120601/dc23c8f3/attachment.html>