Subdomain mit Alias Domains geht nicht

Kara-Kule

Registered User
Hallo,

mit dem Hauptomain funktionieren die angelegte Subdomains einwandfrei!
Die zu Haupdomain angelegte Alias-Domains funktionieren mit dem Subdomains nicht.
Da öffnet sich einfach die Startseite von dem Hauptomain!

Habe im forum überall gesucht nichts gefunden!
Kann mir jemand helfen?
 
Virtual-Host Einträge:
Code:
<VirtualHost *:80>
  ServerName www.%%domain%%
  ServerAlias %%aliases%%
  DocumentRoot %%homedir%%public_html/
  <Directory %%homedir%%>
    <IfModule mod_php5.c>
      php_admin_value open_basedir %%homedir%%:/usr/local/lib/php:/tmp
      php_admin_flag engine Off
    </IfModule>
    <IfModule mod_suphp.c>
      <%%php%%>
      suPHP_Engine on
      suPHP_UserGroup %%ftpusername%% %%hauptbenutzergruppe%%
      AddHandler x-httpd-php .php .php3 .php4 .php5
      suPHP_AddHandler x-httpd-php
      </%%php%%>
    </IfModule>
    Options -Indexes
    <%%cgi%%>
    Options +ExecCGI
    </%%cgi%%>
  </Directory>
<%%no_frontpage%%>
  <%%cgi%%>
  <IfModule mod_suexec.c>
    ScriptAlias /cgi-bin/ %%homedir%%public_html/cgi-bin/
    SuexecUserGroup %%ftpusername%% %%hauptbenutzergruppe%%
  </IfModule>
  </%%cgi%%>
</%%no_frontpage%%>
  DirectoryIndex index.htm index.html index.shtml start.htm start.html start.shtml index.php index.php3 index.php4
  CustomLog "|/usr/local/sa24/cronolog/cronolog --symlink=/usr/local/sa24/logfiles/%%domain%%/access_log --prev-symlink=/usr/local/sa24/logfiles/%%domain%%/current_access_log /usr/local/sa24/logfiles/%%domain%%/%Y/%m/%d/access_log" combined
  <%%redirects%%>
    Redirect %%redirect_from%% http://%%redirect_to%%
  </%%redirects%%>
</VirtualHost>

Dann gibt es noch Virtual-Host Einträge für Subdomains:

Code:
<VirtualHost *:80>
  DocumentRoot %%homedir%%/
  ServerName %%servername%% %%aliases%%
  <Directory %%homedir%%>
    <IfModule mod_php5.c>
      php_admin_value open_basedir %%homedir%%:/usr/local/lib/php:/tmp
      php_admin_flag engine Off
    </IfModule>
    <IfModule mod_suphp.c>
      <%%php%%>
      suPHP_Engine on
      suPHP_UserGroup %%ftpusername%% %%hauptbenutzergruppe%%
      AddHandler x-httpd-php .php .php3 .php4 .php5
      suPHP_AddHandler x-httpd-php
      </%%php%%>
    </IfModule>
  </Directory>
  DirectoryIndex index.htm index.html index.shtml start.htm start.html start.shtm index.php index.php3 index.php4
  CustomLog "|/usr/local/sa24/cronolog/cronolog --symlink=/usr/local/sa24/logfiles/%%domain%%/access_log --prev-symlink=/usr/local/sa24/logfiles/%%domain%%/current_access_log /usr/local/sa24/logfiles/%%domain%%/%Y/%m/%d/access_log" combined
</VirtualHost>
 
Ich hab das probiert.
Leider funktioniert es aber nicht.
Hab jetzt probleme mit Löschen und Neu anlegen von Subdomains.
Server Admin 24 seiten sind für eine weile richtig langsam bzw. funktionieren gar nicht.

Nach eine weile geht es wieder!!! :(
 
Back
Top