[SOLVED] Subdomain for website on NGINX not working

Discussion in 'Installation/Configuration' started by AxelssonDesign, May 12, 2017.

  1. AxelssonDesign

    AxelssonDesign New Member

    Hello,

    I'm trying to use Subdomain to redirect website I'm designing.
    I have tried all redirect types but I can't find how to make it work. My subdonain is tonspil.zix.is and I redirect to /var/www/clients/client1/web5/web/
    I get ERROR 400 and this URL h**ps://tonspil.zix.is/var/www/clients/client1/web5/web/index.php?q=/var/www/clients/client1/web5/web/

    How to fix ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Just add tonspil.zix.is as aliasdomain to that website in ispconfig and do not configure anything on the redirect tab.
     
  3. AxelssonDesign

    AxelssonDesign New Member

    @till
    I have added to aliasdomain tonspil.zix.is and ax.zix.is but both go to same site ax. If I take aliasdomain ax.zix.is out it still points tonspil to ax site.
     
  4. AxelssonDesign

    AxelssonDesign New Member

    [SOLVED]

    I needed to set ip address for sites.
     

Share This Page