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

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    5:05 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

    52
    15
    8
    Jul 30, 2014
    Ratings:
    +22
    Local Time:
    10:05 PM
    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.
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    8:05 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    @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.