Welcome to Centmin Mod Community
Become a Member

Having more then 1 site per VPS

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Matt Williams, Dec 10, 2014.

  1. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    11:08 PM
    latest
    10
    Hello!
    Is it possible to have more the 1 site on a VPS when running centmin mod? I did a test and setup the first site using the automated WP install script then did the same thing changing the domain name for the automated WP setup but one site resolved to the other

    domain.com
    resolved to
    domain2.com

    Do I need an additional IP address for each site and use option 3 from the menu? I know when I run the auto WP install script, it creates the vhost and installs WP

    Can you have mutiple sites under 1 IP or does each site need a dedicated IP to work?
     
  2. Inforit

    Inforit Premium Member Premium Member

    42
    12
    8
    Jul 30, 2014
    Ratings:
    +15
    Local Time:
    4:08 AM
    nginx/1.7.3
    MariaDB 5.5
    It should work, ok, I just tried and had no problem, first domain is also still ok.

    Check your domain.conf file see if all is correct there.
     
    • Like Like x 1
  3. eva2000

    eva2000 Administrator Staff Member

    29,051
    6,593
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,789
    Local Time:
    1:08 PM
    Nginx 1.13.x
    MariaDB 5.5
    @Matt Williams as @Ryder14 pointed out, you should have no problems using the Wordpress Auto installer script to setup multiple separate domains as they don't interact with each other from default Nginx vhost setup. Only if you're edited the Nginx vhost.

    Maybe post the Nginx vhost for both your domains wrapped in CODE tags for us to check out.