Cannot create new sites as subdomains of main site

Discussion in 'Installation/Configuration' started by mick, Mar 13, 2008.

  1. mick

    mick New Member

    Hi,

    I've got a domain.com (working fine) and I want to create a site in subdomain.domain.com. I tried to create new user accout and new site:
    hostname: subdomain
    domain: domain.com
    FTP and user account works fine but subdomain.domain.com displays nothing. What's wrong?
     
    Last edited: Mar 13, 2008
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please make sure that you create the correct DNS records for the subdomain.
     
  3. mick

    mick New Member

    I checked "Create DNS record" which creates "A record" in domain.com with host as "subdomain". Nothing happens, site still won't display. (?)
     
    Last edited: Mar 13, 2008
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You will have to create the DNS records on the authoritive DNS server. This is not nescessarily the local server.
     
  5. mick

    mick New Member

    How to find out which one is "authoritive"?
     
    Last edited: Mar 13, 2008
  6. falko

    falko Super Moderator Howtoforge Staff

    Run
    Code:
    dig ns yourdomain.com
     
  7. mick

    mick New Member

    I sent an e-mail to my provider and he added new record. Everything is okay now. Thank you. :)

    I've got new question: I want to add new user with account pointing to domain.com/his-site/. How to set it in ispconfig?
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Do you mean the user's home directory? This cannot be modified in ISPConfig. You'd have to create that user manually - but make sure you use a UID below 10000 so that it doesn't conflict with users created by ISPConfig.
     

Share This Page