0
Ich habe einen virtuellen Host-Setup wie folgt aus:Server Alias Ausgabe
<VirtualHost *:80>
ServerName sub.website.com
ServerAlias www.sub.website.com sub.website.com
VirtualDocumentRoot /home/website/public_html
<Directory /home/website/public_html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
LimitInternalRecursion 20
#set logging
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel notice
CustomLog ${APACHE_LOG_DIR}/access.log combined
SetEnv APPLICATION_ENV "development"
# SuexecUserGroup %1 %1
<IfModule mod_fastcgi.c>
AddHandler php5-fcgi .php
Action php5-fcgi /php5-fcgi
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi-website
# FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -idle-timeout 900 -pass-header Authorization
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi-website -socket /var/run/website-php5-fpm.sock -idle-timeout 900 -pass-header Authorization
</IfModule>
</VirtualHost>
Und ich habe mich gefragt, ob ich einen A-Eintrag auf die www.sub.website.com Punkt muss ich auch einen A-Eintrag verweisen zu der sub.website.com auch, um sie beide auf der gleichen Website landen zu lassen?