Join the community today
Become a Member

Letsencrypt Setting up a second vhost

Discussion in 'Install & Upgrades or Pre-Install Questions' started by aidzo, Dec 4, 2018.

  1. aidzo

    aidzo New Member

    4
    0
    1
    Nov 14, 2018
    Ratings:
    +0
    Local Time:
    7:42 AM
    Was just wondering how I would go about setting up a second vhost I set the first one up with the following settings from option 2
    Code:
    Enter vhost domain name to add (without www. prefix): domain.com
    
    Create a self-signed SSL certificate Nginx vhost? [y/n]: y
    I have cloudflare on domain.com so the SSL works perfect. Thinking about what would be the best plan of action for setting up a second vhost with ssl.
    • CentOS Version: CentOS 7 64bit ?
    • Centmin Mod Version Installed: 123.09beta01
    • When was last time updated Centmin Mod code base ? : Today
    • Persistent Config: LETSENCRYPT_DETECT='y'

     
  2. eva2000

    eva2000 Administrator Staff Member

    37,227
    8,133
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,521
    Local Time:
    5:42 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  3. aidzo

    aidzo New Member

    4
    0
    1
    Nov 14, 2018
    Ratings:
    +0
    Local Time:
    7:42 AM
    So if I was to do the same thing as the first vhost and add a domain linked to a separate Cloudflare account would the ssl work? Like below

    Code:
    Enter vhost domain name to add (without www. prefix): Cloudflaredomain2.com
    
    Create a self-signed SSL certificate Nginx vhost? [y/n]: y
     
..