Current time: 05-07-2024, 10:38 AM Hello There, Guest! (LoginRegister)


Thread Closed 
[CLOSE]Eigene vHosts für Wildcard Domains
Author Message
Kayaro Offline
Junior Member
*

Posts: 79
Joined: Apr 2009
Reputation: -1
Post: #1
[CLOSE]Eigene vHosts für Wildcard Domains
Hallo, da das Thema in dem ich diese frage gestellt habe geschlossen wurde muss ich leider ein neues aufmachen und hoffe das mir jemand helfen kann.

Also, es geht um folgendes:
Ich möchte ein Wordpress Blog mit Multisite und Domain mapping aufbauen. Ich habe es jetzt soweit, das die Subdomains einwandfrei funktionieren. Mein Problem ist jedoch noch folgendes: Durch Domain Mapping, ist es möglich einen Blog eine TLD Domain zuzuordnen. Dies habe ich gemacht, jedoch wenn ich nun diese Domain welche dem Blog zugeordnet wurde, aufrufe komme ich zum ispCP Login und nicht zum Blog. Wir wurde gesagt das ich es mit einer eigenen vhost lösen kann, jedoch weiß ich nicht so recht wie diese auszusehen hat.

Kann mit hier jemand helfen? Wäre es klasse!

Danke
(This post was last modified: 05-06-2011 02:21 AM by ZooL.)
05-03-2011 08:42 AM
Find all posts by this user
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #2
RE: Eigene vHosts für Wildcard Domains
(05-02-2011 09:02 PM)Kayaro Wrote:  Hallo,

ich wollte keinen neuen Thread aufmachen, darum poste ich mein problem nun mal hier:

Also: Ich habe die entsprechende Wildcard Domain in den configs eingetragen. Subdomains funktionieren ohne probleme! Wenn ich nun per Domain Mapping einem Blog eine richtige tld domain welche auch auf den Server zeigt, zuweise werde ich zur ispcp loginseite geleitet.

Wie kann ich dieses nun umgehen?

P.s. Wordpress + Multisite + Domainmapping

Danke!

ich denke da musst du ein wenig mehr tricksen und eventuell eine eigene Vhost-Datei dafür anlegen.
Die wiederum auf den von dir benutzen webspace zeigt!

...mfg
05-03-2011 12:28 PM
Visit this user's website Find all posts by this user
Kayaro Offline
Junior Member
*

Posts: 79
Joined: Apr 2009
Reputation: -1
Post: #3
RE: Eigene vHosts für Wildcard Domains
Ja, ich fragte ja hier wie diese vhost aussehen muss damit es funktioniert
05-03-2011 05:47 PM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Eigene vHosts für Wildcard Domains
Mach doch ein Beispiel... dan kommt man auch draus...
05-03-2011 08:51 PM
Visit this user's website Find all posts by this user
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #5
RE: Eigene vHosts für Wildcard Domains
guck dir doch mal die vhosts in der datei ispcp.conf an.
so sollte se aussehen nur mit deinen wunschdaten und mit dem richtigen suexec user.

mfg
05-03-2011 11:15 PM
Visit this user's website Find all posts by this user
Kayaro Offline
Junior Member
*

Posts: 79
Joined: Apr 2009
Reputation: -1
Post: #6
RE: Eigene vHosts für Wildcard Domains
Ich stehe in moment einfach auf dem Schlauch -.-

Code:
<VirtualHost 178.250.174.68:80>

    <IfModule suexec_module>
           SuexecUserGroup vu2002 vu2002
    </IfModule>

    ServerAdmin     webmaster@xxx.de
    DocumentRoot    /var/www/virtual/xxx.de/htdocs

    ServerName      xxx.de
    ServerAlias     *.xxx.de

    Alias /errors   /var/www/virtual/xxx.de/errors/

    RedirectMatch permanent ^/ftp[\/]?$        http://serveradresse/ftp/
    RedirectMatch permanent ^/pma[\/]?$        http://serveradresse/pma/
    RedirectMatch permanent ^/webmail[\/]?$    http://serveradresse/webmail/
    RedirectMatch permanent ^/ispcp[\/]?$    http://serveradresse/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    <IfModule mod_cband.c>
        CBandUser xxx.de
    </IfModule>

    # httpd awstats support BEGIN.

   ProxyRequests Off

   <Proxy *>
      Order deny,allow
      Allow from all
   </Proxy>

   ProxyPass            /stats    http://localhost/stats/xxx.de
   ProxyPassReverse        /stats    http://localhost/stats/xxx.de

    <Location /stats>
        <IfModule mod_rewrite.c>
            RewriteEngine on
            RewriteRule ^(.+)\?config=([^\?\&]+)(.*) $1\?config=xxx.de&$3 [NC,L]
        </IfModule>
        AuthType Basic
        AuthName "Statistics for domain xxx.de"
        AuthUserFile /var/www/virtual/xxx.de/.htpasswd
        AuthGroupFile /var/www/virtual/xxx.de/.htgroup
        Require group statistics
    </Location>

   # httpd awstats support END.

    # httpd dmn entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/xxx.de/cgi-bin/
    <Directory /var/www/virtual/xxx.de/cgi-bin>
        AllowOverride AuthConfig
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd dmn entry cgi support END.

    <Directory /var/www/virtual/xxx.de/htdocs>
        # httpd dmn entry PHP support BEGIN.
        # httpd dmn entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # httpd dmn entry PHP2 support BEGIN.
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/virtual/xxx.de/:/var/www/virtual/xxx.de/phptmp/:/usr/share/php/"
        php_admin_value upload_tmp_dir "/var/www/virtual/xxx.de/phptmp/"
        php_admin_value session.save_path "/var/www/virtual/xxx.de/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2002 -t -i'
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/xxx.de/
        <Directory "/var/www/fcgi/xxx.de">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fcgid.c>
        <Directory /var/www/virtual/xxx.de/htdocs>
            FCGIWrapper /var/www/fcgi/xxx.de/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/xxx.de">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    # httpd dmn entry PHP2 support END.

    Include /etc/apache2/ispcp/xxx.de.conf

</VirtualHost>

So sieht der entsprechende Abschnitt aktuell aus. Subdomains gehen, nur eben die gemappte Domain nicht, die leitet auf ispcp um
05-05-2011 12:43 AM
Find all posts by this user
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #7
RE: Eigene vHosts für Wildcard Domains
verstehe dein problem nicht, oder gehe ich recht in der Annahme das du keine ahnung vom Apachen hast wie er functioniert..
05-05-2011 01:37 AM
Visit this user's website Find all posts by this user
Kayaro Offline
Junior Member
*

Posts: 79
Joined: Apr 2009
Reputation: -1
Post: #8
RE: Eigene vHosts für Wildcard Domains
Da ich kein Problem damit habe zu Lücken zu stehen: Ja, mit dem Apache habe ich mich noch nicht sonderlich beschäftigt benötige aber mal Hilfe und habe diese hier erbeten.

Niemand kann alles wissen, jeder Lernt täglich dazu!
05-05-2011 09:10 PM
Find all posts by this user
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #9
RE: Eigene vHosts für Wildcard Domains
Naja das lese ich hier leider immer wieder, dann musst du dir wie ich auch vor ca 14jahren es getan habe einen HomyPC mit Linux bespielen und rumprobieren.
Nicht aber im Internet.
An der stelle kann ich dir leider nicht helfen, biete keine Schulungen an Wink

Gut das das unsere Politiker nicht wissen welche gefahren eigentlich durch Server Hosting und Miete entstehen.
Sonst gäbe es längst eine Internet Maut Tongue oder DSL wird zusätzlichen mit einer Datensteuer versteuert.

MFG
05-06-2011 12:46 AM
Visit this user's website Find all posts by this user
Kayaro Offline
Junior Member
*

Posts: 79
Joined: Apr 2009
Reputation: -1
Post: #10
RE: Eigene vHosts für Wildcard Domains
Nur mal so am rande: Auf dem vServer ist derartiges noch nicht umgesetzt, es wird erst im lokalen netzwerk getestet... Aber gut, dann weiß ich nun das ich hier keinerlei Hilfe erwarten kann... danke für nichts!
05-06-2011 02:19 AM
Find all posts by this user
Thread Closed 


Forum Jump:


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