• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Domain get redirected to Default Plesk Page

sall10

Basic Pleskian
Hello,

I have a domain already secured with LetsEncrypt Certificate, and https is working fine. While I need to test something under http I disabled
under Hosting Settings:

SSL/TLS support
Permanent SEO-safe 301 redirect from HTTP to HTTPS

Certificate: NOT SELECTED

Restarted Apache / Nginx Service

When I try to open the website after, I get redirected to the Webserver Default Page of Plesk, and not to the http version of the Website!

Then I checked under Tools & Settings - IP Addresses - Default Site, the value is set there also to none.

Can someone help me?

Thx


OS
CentOS Linux 7.8.2003 (Core)
Product
Plesk Obsidian
Version 18.0.27 Update #1, last updated on May 25, 2020 07:37 PM
 
Yes, please see here:

# BEGIN BPS WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>

# END BPS WordPress
 
No problem appears in your .htaccess file. Can you add the following rule and try again in a different browser?

RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}
 
I added the snippet to htaccess.

after checking with a different browser then, I get the warning that the website is not secure, when I proceed then to unsecure
version, I get again redirected to the default webserver page
 
Thank you for the article.

I deleted the index.html under htdocs, restarted apache / nginx checked again that the File was not created again.

when i try to open the domain afterwards Forbidden

You don't have permission to access / on this server.

i checked within the htdocs root folder, there is no htaccess file

within htdocs is additionally folder LetsEncrypt .well-known - acme-challenge and inside the acme-challenge is an htaccess with the content:

<IfModule mod_rewrite.c>
RewriteEngine off
</IfModule>

# Require all granted
Satisfy Any
Order Deny,Allow
Allow from all

<FilesMatch "^\.">
# Require all denied
Order Allow,Deny
Deny from all
</FilesMatch>
 
Back
Top