• 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.

Resolved Redirect with the HTTP 301 code

Peter Downes

Basic Pleskian
Hi Forum

I mistakenly ticked the Hosting Settings' Redirect with the HTTP 301 code checkbox for a domain alias that i do not wish to redirect to the Primary domain.

I have unchecked it now but the the redirect seems to be in place on my desktop browsers - but weirdly not for my iOS and Android devices.

Is there a way to check if the server has an internal Redirect in place and/or remove it if it has (beyond the 301 code checkbox)?

Pete
 
Hello mate, if you still give problems, check the file nginx.conf of the following path "/var/www/vhosts/system/domain.com/conf" looking for these lines, if they appear delete and restart the nginx service.

if ($host ~* ^www\.domain\.com$) {
rewrite ^(.*)$ https:// domain.com$1 permanent;
}

a hug
 
Last edited:
Back
Top