如何在Ubuntu上设置Apache 2上的虚拟主机? 我收到错误
我刚接触Ubuntu并设置了Apache。 我只是想为本地发展做好准备。 我发现了大量的信息,但其中有些是矛盾的或混乱的。 我开始了一个新的安装,现在我已经搞砸了,当我尝试启动它时,Apache会抛出错误。 有人可以给我一个简单的,一步一步的方法从头开始在Ubuntu上设置虚拟主机? 我需要编辑哪些文件? 我需要运行哪些命令? 谢谢! 更新#1:具体来说,我得到的错误是这样的: * Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [Fri Oct 09 11:32:38 2009] [error] VirtualHost sitename:0 — mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results […]