[SOLVED] All site domains redirected to one subdomain

Discussion in 'General' started by kettgun, May 7, 2021.

  1. kettgun

    kettgun New Member

    All of my sites in VPS server using ISPC have strange behaviour, i.e. all of site domains (main and subdomains are redirected to one subdomain). To simplify, here is the illustration:
    domain.com
    sub1.domain.com
    sub2.domain.com
    sub3.domain.com
    .....
    sub9.domain.com
    sub10.domain.com
    All of the above domains are redirected to sub9.domain.com. I use ISPC version 3.1.15p3
    Please help how to solve this pronlem. Thank you in advance.
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  3. kettgun

    kettgun New Member

    I found that only 100-sub9.domain.com (in sites-enabled) uses IP -- <VirtualHost XXX.XXX.XX.XXX:80> <VirtualHost XXX.XXX.XX.XXX:443> while other sites use * <VirtualHost *:80> <VirtualHost *:443>. By replacing IP with *, everythings turn to normal.
    Thank you Th0m.
     

Share This Page