US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting


Reply
 
Thread Tools
Old 02-06-2017, 03:49 AM   #1
Member
 
Join Date: Jun 2014
Posts: 68
James.85 is on a distinguished road
Default Incorrect redirects to websites

Hi,

we configured https and ssl-ceritficate for site1 so that http is redeirected to httos and that site1 opens correctly (it also opens correctly with https).

However, if https and ssl are not configured for site1, a different site2 will open at https://
Is this normal?
James.85 is offline   Reply With Quote
Old 02-07-2017, 04:18 AM   #2
ISPsystem team
 
Join Date: Jul 2014
Posts: 443
ksenya is on a distinguished road
Default

Hello,

this is standard behaviour of a web-server, that a control panel cannot change.

When you activate SSL on site1, Ngin will listen to port 443. It receives requests for the WWW-domain with SSL disabled, so Nginx cannot find the required server, and shows the first one in the list.
Solutions:
- use different IP addresses for www-domains with SSL and without
-enable ssl for all www-domains
-create a site that will be shown in this case (you can check the Priority box in its edit form)
ksenya is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:25 PM.