Trouble running subdomain

Discussion in 'Installation/Configuration' started by luckytom, Aug 11, 2016.

  1. luckytom

    luckytom New Member

    Under tab Sites, I add 2 subdomains in the Website > "Web Domain"
    Example IPs:
    IP 192.123.456.235 (Main IP)
    IP 192.123.456.234 (Allocation IP)

    Under 'Web Domain' :
    - Create new Domain: jerry.mydomain.com with IP 192.123.456.235
    - Create new Domain: jacob.mydomain.com with IP 192.123.456.234

    When entering on Firefox browser:
    Under subdomain jerry:
    Code:
    1. http://192.123.456.235/php-apps/index.php    => Run
    2. http://jerry.mydomain.com/php-apps/index.php => Run
    Under subdomain jacob:
    Code:
    3. http://192.123.456.234/php-apps/index.php    => Run
    4. http://jacob.mydomain.com/php-apps/index.php => ERROR.. Why??
    NOTE:
    User "jacob" if I change the same IP 192.123.456.235 => Both are run, but making ERROR on No. 1 (user jerry).

    Please help, how to fix #4 to run good like the others..?
     
    Last edited: Aug 11, 2016
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    check the dns of this subdomain and ensure that a a-record for jacob exists and that it points to the correct IP address.
     
    luckytom likes this.
  3. luckytom

    luckytom New Member

    Yes, it works good as I wanted - Thanks so much for advice.. :cool:
     
  4. luckytom

    luckytom New Member

    One more, I'm still curious what the function menu "Add new subdomain", while I was able to make it the same in the "Add new website"..?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The subdomain function adds the subdomain as alias to an existing website, this is used by multidomain capable CMS e.g. Typo3 while adding a new website for the subdomain gives the subdomain its own directory so that you can install a different cms or website there than in the main domain.
     
  6. luckytom

    luckytom New Member

    I see, Brehm.. Thanks a lot.
     

Share This Page