Welcome to Centmin Mod Community
Become a Member

Nginx Installed & working but want to install 2nd site

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by boss, Mar 17, 2017.

  1. boss

    boss New Member

    6
    4
    3
    Mar 17, 2017
    Ratings:
    +6
    Local Time:
    4:22 PM
    Hello,

    I installed mod menu "22) Add Wordpress Nginx vhost + WP Super Cache"

    I created an A record in namecheap to point to my VPS IP

    and centminmod is working amazingly :)

    I want to install another wordpress site on the same VPS but with a different domain. Is it as simple as installing the mod menu "22). Add Wordpress Nginx vhost + WP Super Cache" again? if not, how should I go about installing the 2nd site?

    Also, how should I setup the two namecheap domains so it works with centminmod?

    • CentOS Version: CentOS 6 64bit
    • Centmin Mod Version Installed: 123.08stable
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,968
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,422
    Local Time:
    12:22 PM
    Nginx 1.13.x
    MariaDB 5.5
    Yup just run centmin.sh menu option 22 and specify a different new domain or subdomain name :)

    at DNS level at namecheap just point each domain's DNS A record to server IP address
     
    • Like Like x 1
  3. boss

    boss New Member

    6
    4
    3
    Mar 17, 2017
    Ratings:
    +6
    Local Time:
    4:22 PM
    This is awesome, I got both sites installed. Love how simple it is. But, I notice after installing SSL to the option 22(wordpress site) it seems it breaks the website format.

    I got about 15 console errors that are similar to this

    Mixed Content: The page at 'https://example.com/' was loaded over HTTPS, but requested an insecure script 'http://example.com/wp-includes/js/wp-emoji-release.min.js?ver=4.7.3'. This request has been blocked; the content must be served over HTTPS.

    Is there a way to change the requested scripts to https?
     
    • Informative Informative x 1
  4. eva2000

    eva2000 Administrator Staff Member

    30,968
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,422
    Local Time:
    12:22 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Agree Agree x 1