• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx

  • We are developing a new feature in Plesk that will help you promote your websites or business on social media. We want to conduct a one-hour online UX test to present the prototype and collect feedback. If you are interested in the feature, please book a meeting via this link.
    Thank you in advance!
  • 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.

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