• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Default Parallels Plesk Page

Deivis

New Pleskian
Hello, i need some kind of help with my problem, for each domain and subdomain i created always Default Parallels Plesk Page is showded, each httpdocs has the content of the site but never is showed. this is my plesk server.conf

#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

NameVirtualHost 172.31.1.100:80
NameVirtualHost [2a01:4f8:c17:1878::2]:80
NameVirtualHost 78.47.161.43:80

NameVirtualHost 172.31.1.100:443
NameVirtualHost [2a01:4f8:c17:1878::2]:443
NameVirtualHost 78.47.161.43:443

ServerName "kitlearn.com"


DocumentRoot "/var/www/vhosts/default/htdocs"

<IfModule mod_logio.c>
LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>
<IfModule !mod_logio.c>
LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>

TraceEnable off

ServerTokens ProductOnly

<Directory "/var/www/vhosts">
AllowOverride "All"
Options SymLinksIfOwnerMatch
Order allow,deny
Allow from all

<IfModule mod_php4.c>
php_admin_flag engine off
</IfModule>

<IfModule mod_php5.c>
php_admin_flag engine off
</IfModule>

</Directory>

<Directory "/usr/lib/mailman">
AllowOverride All
Options SymLinksIfOwnerMatch
Order allow,deny
Allow from all
<IfModule mod_php4.c>
php_admin_flag engine off
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine off
</IfModule>
</Directory>

<IfModule mod_headers.c>
Header add X-Powered-By PleskLin
</IfModule>

<IfModule mod_security2.c>
</IfModule>

Include "/etc/apache2/plesk.conf.d/ip_default/*.conf"

<VirtualHost \
172.31.1.100:80 \
[2a01:4f8:c17:1878::2]:80 \
78.47.161.43:80 \
\
>
ServerName "default"
UseCanonicalName Off
DocumentRoot "/var/www/vhosts/default/htdocs/"
ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin"

<IfModule mod_ssl.c>
SSLEngine off
</IfModule>

<Directory "/var/www/vhosts/default/cgi-bin">
AllowOverride All
Options None
Order allow,deny
Allow from all
</Directory>

<Directory /var/www/vhosts/default/htpdocs>


<IfModule mod_php4.c>
php_admin_flag engine on
</IfModule>

<IfModule mod_php5.c>
php_admin_flag engine on
</IfModule>

</Directory>

</VirtualHost>

<IfModule mod_ssl.c>

<VirtualHost \
172.31.1.100:443 \
\
>
ServerName "default-172_31_1_100"
UseCanonicalName Off
DocumentRoot "/var/www/vhosts/default/htdocs"
ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin"

SSLEngine on
SSLVerifyClient none
SSLCertificateFile "/opt/psa/var/certificates/certV0JmU8c"

<Directory "/var/www/vhosts/default/cgi-bin">
AllowOverride All
Options None
Order allow,deny
Allow from all
</Directory>

<Directory /var/www/vhosts/default/htdocs>

<IfModule mod_php4.c>
php_admin_flag engine on
</IfModule>

<IfModule mod_php5.c>
php_admin_flag engine on
</IfModule>

</Directory>

</VirtualHost>
<VirtualHost \
[2a01:4f8:c17:1878::2]:443 \
\
>
ServerName "default-2a01_4f8_c17_1878__2"
UseCanonicalName Off
DocumentRoot "/var/www/vhosts/default/htdocs"
ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin"

SSLEngine on
SSLVerifyClient none
SSLCertificateFile "/opt/psa/var/certificates/certV0JmU8c"

<Directory "/var/www/vhosts/default/cgi-bin">
AllowOverride All
Options None
Order allow,deny
Allow from all
</Directory>

<Directory /var/www/vhosts/default/htdocs>

<IfModule mod_php4.c>
php_admin_flag engine on
</IfModule>

<IfModule mod_php5.c>
php_admin_flag engine on
</IfModule>

</Directory>

</VirtualHost>
<VirtualHost \
78.47.161.43:443 \
\
>
ServerName "default-78_47_161_43"
UseCanonicalName Off
DocumentRoot "/var/www/vhosts/default/htdocs"
ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin"

SSLEngine on
SSLVerifyClient none
SSLCertificateFile "/opt/psa/var/certificates/cert-8dtD11"

<Directory "/var/www/vhosts/default/cgi-bin">
AllowOverride All
Options None
Order allow,deny
Allow from all
</Directory>

<Directory /var/www/vhosts/default/htdocs>

<IfModule mod_php4.c>
php_admin_flag engine on
</IfModule>

<IfModule mod_php5.c>
php_admin_flag engine on
</IfModule>

</Directory>

</VirtualHost>

</IfModule>

<VirtualHost \
172.31.1.100:80 \
[2a01:4f8:c17:1878::2]:80 \
78.47.161.43:80 \
\
>
DocumentRoot "/var/www/vhosts/default/htdocs"
ServerName lists
ServerAlias lists.*
UseCanonicalName Off

ScriptAlias "/mailman/" "/usr/lib/cgi-bin/mailman/"
ScriptAlias "/cgi-bin/mailman/" "/usr/lib/cgi-bin/mailman/"

Alias "/icons/" "/var/lib/mailman/icons/"
Alias "/pipermail/" "/var/lib/mailman/archives/public/"
Alias "/images/" "/usr/share/images/"

<IfModule mod_ssl.c>
SSLEngine off
</IfModule>

<Directory /var/lib/mailman/archives/>
Options FollowSymLinks
Order allow,deny
Allow from all
</Directory>

</VirtualHost>

<IfModule mod_ssl.c>
<VirtualHost \
172.31.1.100:443 \
[2a01:4f8:c17:1878::2]:443 \
78.47.161.43:443 \
\
>
DocumentRoot "/var/www/vhosts/default/htdocs"
ServerName lists
ServerAlias lists.*
UseCanonicalName Off

ScriptAlias "/mailman/" "/usr/lib/cgi-bin/mailman/"
ScriptAlias "/cgi-bin/mailman/" "/usr/lib/cgi-bin/mailman/"

Alias "/icons/" "/var/lib/mailman/icons/"
Alias "/pipermail/" "/var/lib/mailman/archives/public/"
Alias "/images/" "/usr/share/images/"

SSLEngine on
SSLVerifyClient none
SSLCertificateFile "/opt/psa/var/certificates/certV0JmU8c"

<Directory /var/lib/mailman/archives/>
Options FollowSymLinks
Order allow,deny
Allow from all
</Directory>

</VirtualHost>
</IfModule>

<IfModule mod_rpaf.c>
RPAFproxy_ips 172.31.1.100 [2a01:4f8:c17:1878::2] 78.47.161.43

</IfModule>
<IfModule mod_rpaf-2.0.c>
RPAFproxy_ips 172.31.1.100 [2a01:4f8:c17:1878::2] 78.47.161.43

</IfModule>
<IfModule mod_remoteip.c>
RemoteIPInternalProxy 172.31.1.100 2a01:4f8:c17:1878::2 78.47.161.43
RemoteIPHeader X-Forwarded-For
</IfModule>

I don't see where vhost are included, only I see and include that is ip_default...What I have to do to fix my problem?....Please i really need to solve it
 
Hello, make sure that apache is using the required ports for your configuration:

# netstat -ntpl

Apache should use 7080 and 7081 if nginx is enabled and 80 if nginx is disabled.

Try to enable/disable nginx proxy support:

# /usr/local/psa/admin/sbin/nginxmng -e
# /usr/local/psa/admin/sbin/nginxmng -d

Make sure that IP address in Plesk is the same as you are using to reach the website.
 
Back
Top