MultiServer Setup issues

Discussion in 'Installation/Configuration' started by GeorgeG, Feb 6, 2020.

  1. GeorgeG

    GeorgeG New Member

    Hi,
    For the last couple of years I am running an ISPConfig installation within a single container (LXC), serving 1 website, a few parked domains, and mail hosting for the website. The website has now grown a little to the point that I want to move to a server, on it's own.

    Thinking ahead, I chose to split responsibilities to separate containers (LXC) on a single box. I thought that if and when the needs grow, I can move these containers to machines with more capacity.

    I have split the concerns as follows (each line is a separate LXC container):
    - host.mydomain.com: ISPConfig Master installation, Web hosting for parked domains
    - ns.mydomain.com: ISPConfig Slave installation, DNS
    - web.mydomain.com: ISPConfig Slave installation, Web hosting for main domain website
    - db.mydomain.com: ISPConfig Slave installation, Database
    - pm.mydomain.com: ISPConfig Slave installation, e-mail hosting

    I can login into the panel via the corresponding IP, and now I am looking to test the web functionality of the setup.
    I have followed the steps below:
    - Each container allocated a public IP (e.g. 162.85.110.X), and a local IP (e.g. 10.0.0.X). Thease are visible under "IP Address" within ISPConfig.
    - I have created a website in web.mydomain.com
    - I have created a DNS zone that points the domain (xyz.com) to the Public IP of "web.mydomain.com" as well as NS and A records point to ns.mydomain.com and its IP.

    I am using a local VM where /etc/resolv.conf points to the public IP of ns.mydomain.com
    When I browse to http://xyz.com I get a response from web.mydomain.com, however it shows the content of /var/www/html instead of /var/www/xyz.com/web/

    All servers/containers/VM are running ubuntu server 18.04.
    The webserver used across is apache, the DB is MariaDM.

    Am I missing something?

    Regards,
    George
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer ISPConfig Developer

    What does 'apachectl -S' show in the web server node?
     

Share This Page