Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

https loads another website's contents

General questions about VestaCP
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
peterbkk
Posts: 4
Joined: Thu Jun 02, 2016 7:49 am

https loads another website's contents
  • Quote

Post by peterbkk » Thu Jun 02, 2016 7:55 am

Hi,

I've just started using SSL for our main website and it works fine, however when you go to another domain name hosted in VestaCP (under its own user account) for example https://otherdomainname.com it will show the SSL warning which is correct, but if you continue, it will then load the contents of the main website.

I have about 5 other user accounts with maybe 15 more domains hosted, and it's happening to all of them, except other domains that have their own SSL cert.

Any ideas as to why it's doing this / how to fix it?


Thanks
Top

Mr.Erbutw
Posts: 1040
Joined: Tue Apr 29, 2014 10:05 pm

Os: CentOS 6x
Web: apache + nginx
Re: https loads another website's contents
  • Quote

Post by Mr.Erbutw » Thu Jun 02, 2016 8:46 am

do not use self-signed ssl certificates. if you want that there was no warning purchase at a special organization ssl certificate will not have problems
Top

peterbkk
Posts: 4
Joined: Thu Jun 02, 2016 7:49 am

Re: https loads another website's contents
  • Quote

Post by peterbkk » Thu Jun 02, 2016 11:44 am

I think you don't understand.

I don't care about the warning, thats not the problem. My problem is on other domains within VestaCP, when you put HTTPS instead of loading the correct site, it will load the first site I setup (which does have a purchased ssl certificate.)
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: https loads another website's contents
  • Quote

Post by skamasle » Thu Jun 02, 2016 2:48 pm

Hi

This is normal,

You have a domain in iP 1.1.1.1 you install ssl to that domain, so this ssl listen on 1.1.1.1:8443

Orther domain not have ssl, when you try to access to this one whit ssl it ask 1.1.1.1:8443 for ssl and it only find your fisrt domain.

this is SNI problem.

This happen on cPanel, Plesk, directadmin, vestacp, NO PANEL servers etc

You can solve this in 2 ways

Install SSL on all domains or install dedicated IP in domains whit SSL.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: https loads another website's contents
  • Quote

Post by tjebbeke » Mon Jun 06, 2016 1:05 pm

You can use this:
http://nginx.org/en/docs/http/request_p ... rver_names
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password