文件不存在:/ htdocs

我刚刚开了一个新的亚马逊ec2实例,我按照这些方向 ,当我访问该网站时,我得到了这个

File does not exist: /htdocs 

也如何得到这个服务器的弹性IP,因为在亚马逊控制台上它的空白

我不能告诉这是什么样的Ubuntu的..我看到这个

  Linux domU-12-31-39-02-5D-E7 2.6.31-302-ec2 #7-Ubuntu SMP Tue Oct 13 19:06:04 UTC 2009 i686 
 <VirtualHost *:80> ServerAdmin webmaster@localhost 
  DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost> 

想通了,只是我忘了启用虚假的虚拟主机

  a2ensite default