https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-debian-7
我按照上面链接
中显示的步骤操作#mkdir -p /var/www/smartschool.com/public_html
#chown rushabh:rushabh -R /var/www/smartschool.com
#chmode 755 -R /var/www/smartschool.com
#vi /var/www/smartschool.com/public_html/idex.html
#cp /etc/apache2/sites-available/default /etc/apache2/sites-available/smartschool.com
#vi /etc/apache2/sites-available/smartschool.com
<VirtualHost *:80>
ServerAdmin webmaster@smartschool.com
ServerName smartschool.com
ServerAlias www.smartschool.com [...]
#a2ensite smartschool.com
#service apache2 restart
现在我的Firefox正在向我展示 未找到 在此服务器上找不到请求的URL。
Apaches / 2.2.22(Debian)服务器,位于smartschool.com端口80
我错过了什么吗?提前谢谢你