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 Web Server
  • Search

Let's encrypt Error code: 2.

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Dimetrius
Posts: 4
Joined: Thu Jun 01, 2017 9:36 am

Let's encrypt Error code: 2.
  • Quote

Post by Dimetrius » Thu Jun 01, 2017 9:55 am

I have several websites on my vesta server.
For one of my domain (we call it domain1.com), I have installed SSL Let's Encrypt successfully. Just click needed options and ssl works.
When I start doing the same for my second domain (lets call it domain2.com) I'm getting error: Error code: 2
After this I see strange behavior: when I go https://domain2.com I see the first website (domain1.com) is opened there.

Could you please, explain what I'm doing wrong?
Top

cottager
Posts: 19
Joined: Mon Feb 06, 2017 8:10 pm

Re: Let's encrypt Error code: 2.
  • Quote

Post by cottager » Fri Jun 02, 2017 4:47 pm

If you get an error trying to set up ssl on a domain, I believe you'll get the first website in the nginx config that it has for a valid https site. (don't quote me, maybe I dreamed this.) Do you see the correct domain when you go there without the s? (http://domain2)

Solve the SSL problem for domain2 and you should get the right domain when you https to it.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • 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
 

 

Login  •  Register

I forgot my password