配置 在Apache下配置二级域名,实际上就是配置一个VirtualHost,然后把ServerName进行一个重定向。 假如有httpd.conf文件(没有就是apache2.conf)文件,但是我的ubuntu在apache下/etc/apach2/有sites-available文件夹,这个下面有default.conf(000-default.conf)文件,这个里面添加上: <VirtualHost *:80> ServerAdmin info@ikeepstudying.com ServerName justcode.ikeepstudying.com DocumentRoot "/var… Read More