ISPConfig Subdomain problem

Discussion in 'Installation/Configuration' started by ciarangaffey, Mar 6, 2015.

  1. ciarangaffey

    ciarangaffey New Member

    Hi there,
    I'm totally new to ISPConfig and am having difficulties setting up a subdomain. I've read through many posts here about the process and it seems for what I want I need to create a new website for the domain because I want it to have it in a seperate folder.

    Here is the settings for the website:
    [​IMG]

    I've added a new DNS zone for the subdomain also. Here are the settings:
    [​IMG]

    These settings are not working however. I just get the following error message:

    ERROR
    The requested URL could not be retrieved

    Also when I create an FTP user for the website it doesn't work. I would really appreciate some guidance as to how to get the subdomain working. Thanks in advance.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The website part is ok but the dns is wrong. you dont need a new dns zone for a subdomain. Delete the subdomain zone that you added and add a A-record for the subdomain to the zone of the domain instead.
     
  3. ciarangaffey

    ciarangaffey New Member

    Yes I have tried that before but it didnt work.
    I have removed the subdomain dns zone now and added an A-record to the zone for the domain. Here is how the dns zone for the domain looks:
    [​IMG]

    I am still getting an error when visiting the subdomain and I also cannot connect via FTP. Is there anything else I need to to?
    Thanks!
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The zone is ok now. Please bote that changes in dns can take up to 24 hours.
     
  5. ciarangaffey

    ciarangaffey New Member

    Ah I see. That's why I haven't had any results in all my testing :)
    So when the DNS changes propogate should my FTP access work also?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes.

    You can test the dns locally by running this command on your server:

    dig @localhost hippyseeds.com

    if the zone is configured correctly, then it will return the correct IP right now as this result is not cached.
     
  7. ciarangaffey

    ciarangaffey New Member

    Unfortunately I dont know how to run a command on the server but hopefully it will work anyways.
    Thanks for your help!
     
  8. ciarangaffey

    ciarangaffey New Member

    Hi there,
    I'm still getting an error message when I visit the sub domain and I'm still not able to connect to the subdomain via ftp. Could the DNS still not have taken affect? Perhaps there's something I missed?
     
  9. ressel

    ressel Member

    Something is wrong in DNS.

    DNS server handling your query: localhost
    DNS server's address: 127.0.0.1#53

    Non-authoritative answer:
    Name: hippyseeds.com
    Address: 188.226.236.117


    DNS server handling your query: localhost
    DNS server's address: 127.0.0.1#53

    ** server can't find blog.hippyseeds.com: NXDOMAIN
     
  10. ciarangaffey

    ciarangaffey New Member

    Sorry, I'm not clear on what is wrong exactly. Can you advise on what needs to be checked or changed?
    Should the DNS server address be 188.226.236.117? How would I change that?
     
  11. ressel

    ressel Member

    Can you send a screenshot of the zone hippyseeds.com that contains blog as A record?
     
  12. ciarangaffey

    ciarangaffey New Member

    here it is:
    [​IMG]
     
  13. ressel

    ressel Member

    Have you deleted blog.hippyseeds.com as a zone?
     
  14. ciarangaffey

    ciarangaffey New Member

    yes there is only one zone for hippyseeds.com
     
  15. ressel

    ressel Member

    # dig @ns1.hippyseeds.com blog.hippyseeds.com

    ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> @ns1.hippyseeds.com blog.hippyseeds.com
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 49344
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    ;; WARNING: recursion requested but not available

    ;; QUESTION SECTION:
    ;blog.hippyseeds.com. IN A

    ;; AUTHORITY SECTION:
    hippyseeds.com. 3600 IN SOA ns1.hippyseeds.com. hostmaster.hippyseeds.com. 2014042903 7200 540 604800 86400

    ;; Query time: 35 msec
    ;; SERVER: 188.226.236.117#53(188.226.236.117)
    ;; WHEN: Sun Mar 8 21:09:38 2015
    ;; MSG SIZE rcvd: 88
     
  16. ciarangaffey

    ciarangaffey New Member

    Sorry, I'm not sure which piece of information there is relevant. I'm not familiar with hosting environments. Can you please let me know what the above indicates?
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    There must be a general error as there was no result returned. Please run this command on the shell of your server:

    dig @@localhost hippyseeds.com

    and post the output.
     
  18. ciarangaffey

    ciarangaffey New Member

    I'm trying to access the server via SSH via an SSH client. Is that correct? Or should I just use the command prompt? Sorry I'm new with shell access!
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    Using ssh is fine. The prompt will work too if you have access to the server directly.
     
  20. ciarangaffey

    ciarangaffey New Member

    I'm using SSH but the logins I have (the same logins as the Cpanel) do not work.
    Is it possible to create a user for the terminal in ISPConfig?
     

Share This Page