1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Suspended pages forward to a certain domain on my server

Discussion in 'Plesk for Linux - 8.x and Older' started by dennis00, Sep 14, 2006.

  1. dennis00

    dennis00 Guest

    0
     
    I have this problem. After I migrated 300 domains from another server to this server, the Plesk default page (no site is configured for...) changed to SITECOMINGUP.com.
    If I suspend a domain, it automaticly frame-forwards to www.SITECOMINGUP.com.

    The solution is moving the line "Include /home/httpd/vhosts/SITECOMINGUP.com/conf/httpd.include" between the other includes.
    This makes sure a suspended domain shows "no hosting configured for this domain" as should be.

    The problem is... when I make any change in Plesk regarding the webhosting, Plesk automaticly rewrites zz010_psa_httpd.conf and re-creates the error, so every domain will automaticly forward to www.SITEOCOMINGUP.com again.

    /etc/httpd/conf.d/zz010_psa_httpd.conf:
    Code:
    NameVirtualHost SERVER_IP:80
    NameVirtualHost SERVER_IP:80
    NameVirtualHost SERVER_IP:80
    NameVirtualHost SERVER_IP:80
    NameVirtualHost SERVER_IP:443
    NameVirtualHost SERVER_IP:443
    NameVirtualHost SERVER_IP:443
    NameVirtualHost SERVER_IP:443
    ServerName server03.server.nl
    ServerAdmin [email]info@server.nl[/email]
    
    DocumentRoot /home/httpd/vhosts/default/htdocs
    
    <IfModule mod_logio.c>
    LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
    </IfModule>
    <IfModule !mod_logio.c>
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
    </IfModule>
    <Directory "/home/httpd/vhosts">
    AllowOverride All
    Options SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
    <IfModule sapi_apache2.c>
    php_admin_flag engine off
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine off
    </IfModule>
    </Directory>
    
    <Directory "/var/mailman">
    AllowOverride All
    Options SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
    <IfModule sapi_apache2.c>
    php_admin_flag engine off
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_flag engine off
    </IfModule>
    </Directory>
    
    <IfModule mod_userdir.c>
    UserDir disabled
    </IfModule>
    Include /home/httpd/vhosts/SITECOMINGUP.com/conf/httpd.include
    
    <VirtualHost \
    
    
    (lots of code/lines) .....................
    
    
    <VirtualHost \
    SERVER_IP:80 \
    SERVER_IP:80 \
    SERVER_IP:80 \
    SERVER_IP:80 \
    >
    DocumentRoot /home/httpd/vhosts/default/htdocs
    ServerName lists
    ServerAlias lists.*
    UseCanonicalName Off
    ScriptAlias /mailman/ /var/mailman/cgi-bin/
    Alias /icons/ /var/www/icons/
    Alias /pipermail/ /var/mailman/archives/public/
    <Directory /var/mailman/archives/>
    Options FollowSymLinks
    </Directory>
    </VirtualHost>
    
    <IfModule mod_ssl.c>
    
    <VirtualHost \
    SERVER_IP:443 \
    SERVER_IP:443 \
    SERVER_IP:443 \
    SERVER_IP:443 \
    >
    DocumentRoot /home/httpd/vhosts/default/httpsdocs
    ServerName lists
    ServerAlias lists.*
    UseCanonicalName Off
    ScriptAlias /mailman/ /var/mailman/cgi-bin/
    Alias /icons/ /var/www/icons/
    Alias /pipermail/ /var/mailman/archives/public/
    <Directory /var/mailman/archives/>
    Options FollowSymLinks
    </Directory>
    </VirtualHost>
    
    </IfModule>
    
    # This is where the includes start
    Include /home/httpd/vhosts/123.nu/conf/httpd.include
    Include /home/httpd/vhosts/456.nl/conf/httpd.include
    Include /home/httpd/vhosts/789.nl/conf/httpd.include
    (lots of code/lines)
    Does anybody have a clue what could cause this problem and more important, how it's solved?
     
  2. Nerion@

    Nerion@ Guest

    0
     
    Same problem. How did you fix this?
     
  3. dennis00

    dennis00 Guest

    0
     
    Contact me via IM and I will have a look at it.

    I don't quite remember how we solved this issue, but I remember it was solved in the end.
     
  4. Nerion@

    Nerion@ Guest

    0
     
    Found the problem under Server - IP-Adresses - Default Domain.

    Thank you for help
     
Loading...