sub domain problem

Discussion in 'Installation/Configuration' started by chief, Nov 4, 2014.

  1. chief

    chief Member HowtoForge Supporter

    i am having an issue with creating a subdomain.

    I would like
    1. sites, sub domain and created
    host = garage
    domain =
    redirect = L
    path = /garage/ (which i have already created with content and viewable seperately)

    then i head for DNS and create an entry

    and i create a entry thus
    new CNAME record
    hostname = garage
    target hostname =
    ttl = 86400 (standard)
    active = yes

    when i try the address it just shows me

    whats going on?
    I can ping,
    also, my dns is handled externally

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    When a subdomain shal have its own directory, then the recommended way is to add a new website for the subdomain. as alternative you can ad ist as vhost subdomain. using rewrites is possible but less optimal as rewrites will interfere with the .htaccess files of the main website and might result in strange problems.
  3. chief

    chief Member HowtoForge Supporter

    Hi till,
    thanks for the reply.

    I found the problem.
    i had enabled:

    domain > auto-subdomain = www.
    redirect > seo redirect = domain.tld => www.domain.tld

    so when i tried any subdomain it would automatically change to
    when i undid settings, it broke website

    I did this because i couldnt originally get, it kept changing to

    my cure was to buy and use that for subdomain's
    now it works
  4. pcurran

    pcurran Member

    Subdomain creation?

    hi Tim et All,
    You said: Recommended way to create a subdomain "", is to create a new website?
    But in the new website's form, we can only select "www.", not write the host portion?

    Alternatively one may create the subdomain "" manually as vhost/apache2 ?

    If above is true, how can we import the created vhost/subdomain informations to ISPconfig3?
    thank you.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess you have domain limits enabled on your server. On servers that have domain limits enabled, you have to add the subdomain in the domain list f the client first.

    If you like to do a mass import from another controlpanel, then you can do that with the ispconfig remote api.

Share This Page