Current time: 06-28-2024, 10:04 AM Hello There, Guest! (LoginRegister)


Post Reply 
Probleme mit Subdomains
Author Message
djabit Offline
Junior Member
*

Posts: 31
Joined: Jun 2011
Reputation: 0
Post: #1
Probleme mit Subdomains
Hi,

ich hab einen Kunden, der hat eine Webseite, bei der ganz viele Subdomains auf Ordner im root Verzeichnis der Hauptseite zeigen.
Der Kram lief bisher auf nem Cpanel Server.

Kann ich das irgendwie auch mit ispcp möglich machen?

Also eine Subdomain, die auf einen Ordner im htdocs Verzeichnis der Hauptdomain zeigt (ohne, dass dabei wieder ein neuer htdocs Ordner ensteht)?

Danke
(This post was last modified: 06-27-2011 02:46 AM by djabit.)
06-27-2011 02:45 AM
Find all posts by this user Quote this message in a reply
piccolo Offline
Junior Member
*

Posts: 49
Joined: Feb 2011
Reputation: 0
Post: #2
RE: Probleme mit Subdomains
Hallo Djabit,

so weit ich weiß geht so eine Anforderung nicht out-of-the-box. Da ist etwas "Handarbeit" gefragt. Sollte aber prinzipiell Möglich sein. Da müsstest du die Apache config noch etwas manuell modifizieren nach dem anlegen der Subdomains.

Gruß
piccolo
06-27-2011 04:42 PM
Find all posts by this user Quote this message in a reply
Knut Offline
Member
***

Posts: 736
Joined: Nov 2006
Reputation: 10
Post: #3
RE: Probleme mit Subdomains
Das ginge auf der Shell z.B. so:

Code:
cd /etc/apache2/ispcp/
pico meine-domain-zu-anpassen.conf
Folgendes eintragen:
Code:
#
# Custom apache configuration for rpa-darmstadt.de
#
# Any changes made to this file will be preserved.
# ispCP doesn't and won't verify the contents of this file.
#
# This file should NOT be deleted, otherwise apache will fail to start
#

    ServerAlias     www.meine-domain-zu-anpassen.de meine-domain-zu-anpassen.de subdomain1.meine-domain-zu-anpassen.de

Aspeichern und den Apachen neu laden.

Knut
06-28-2011 01:33 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)