Ubuntu 16.04 Apache2 multiple websites

Discussion in 'HOWTO-Related Questions' started by Billy Whited, Mar 1, 2017.

  1. Billy Whited

    Billy Whited New Member

    I've follow everything to the letter
    sudo a2ensite olmacdoanldsfarm.com /var/www/html already enabled
    sudo a2ensite peapatchrvpark.com /var/www/peapatch/ already enabled
    sudo a2ensite redpoppyrentalhall.com /var/www/redpoppy/ already enabled
    sudo dissite default already disabled
    etc/hosts
    127.0.0.1 olmacds localhost
    192.168.1.29 olmacdonaldsfarm.com
    192.168.1.29 peapatchrvpark.com
    192.168.1.29 redpoppyrentalhall.com

    192.168.1.29 is the address of my server on my private network
    65.245.187.152 is the address of my public ip
    it serves olmacdonaldsfarm.com just fine
    not the other two

    ive tried everything I have given up
     

Share This Page