Re: [users@httpd] httpd won't start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



webmaster@xxxxxxxxxxxxxx wrote:

Following your sample, after setting the NameVirtualHost

# Use name-based virtual hosting.
#
NameVirtualHost 216.107.115.123:80

I made one site look like this:

# Virtual host evergreenequikits.com
<VirtualHost *:80>
       DocumentRoot /var/www/ginftp/evergreenequikits.com

       ServerAdmin webmaster@xxxxxxxxxxxxxx
       ServerName evergreenequikits.com
       DirectoryIndex index.html index.htm index.shtml
       ServerSignature email
       CustomLog logs/access_log combined
       ServerSignature email
</VirtualHost>

I would make one recomendation here, put in a ServerAlias dirrective containing the value *.evergreenequikits.com. That will allow you to access it as both www.evergreenequikits.com as well as evergreenequikits.com. There may be reasons you don't want to do that, but it's generally recomended practice.

As for why it doesn't work, I would say it's because you probably want to set your NameVirtualHost to *:80. Though there may be reasons that you don't want it as that. I hope that this works.

							Jessica

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux