Nginx secondary IP

Discussion in 'Installation/Configuration' started by Stefan Petrov, Apr 20, 2016.

  1. Stefan Petrov

    Stefan Petrov New Member

    Hello,

    I have added secondary IP via "System" => "IP Addresses". Then I tried to set that IP to a domain [domain.tld] in "Sites" => "Website" => "[domain.tld]". When I open [domain.tld] i browser instead of domain content I see nginx welcome page "/usr/share/nginx/html/index.html". I tried to create a subdomain with that IP and all was OK - in browser I see the subdomain content. I added another domain [domain2.tld] and set that IP and all is ok. Then I tried to rename the subdomain I created with [domain.tld] and again I see nginx welcome page. What I'm doing wrong?

    Ubuntu 14.04.4 LTS (Trusty Tahr) ISPConfig 3.0.5.4p9 with nginx 1.8.1

    Thank you
    Kind regards
     
    Last edited: Apr 20, 2016
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the dns of the non working domain. What you see happens when it still points to the first IP.
     
  3. Stefan Petrov

    Stefan Petrov New Member

    Till, thank you!
     

Share This Page