subdomain

Discussion in 'Installation/Configuration' started by mrbronz, Jan 16, 2024.

  1. mrbronz

    mrbronz Member HowtoForge Supporter

    I need your help, please.

    I am experimenting with using subdomains.
    I tried creating a new site for the required sub with sub1.mydomin.me.uk
    That did not work. I tried adding an A record for sub1 in the DNZ zone and then going to sub1.gregson.me.uk. That did not work, so I tried adding a CNAME record for sub1 in the DNS zone, but that also has not worked. Now it seems the letsencrypt cert is not working for my roundcube mail mydomin.me.uk/mymail. I accept there are two issues here, but I cannot work out what I have done for /mymail, but even more, I cannot work out why I cannot get a subdomain to work. I have tried including a "." dot and excluding it, but still, there is no go. Any pointers will be greatly received.

    Many thanks
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You wrote
    but did not reveal what did not work and how it was not working.
    Can the subdomain be resolved from name service? If not, you can test with this method:
    https://www.faqforge.com/windows/how-to-access-a-namebased-website-without-a-dns-record/
    Your post seems to mix gregson.me.uk and mydomin.me.uk, is this for a reason?
    Check what you have entered in name service and verify the names resolve as you intend.
    Assuming you created the website for subdomain in ISPConfig panel, show what you entered there.
     
  3. mrbronz

    mrbronz Member HowtoForge Supporter

    Sorry Taleman,
    What I should have said is that the subdomain cannot be accessed, showing.
    Code:
    This site can’t be reached sub1.mydomian.me.uk’s server IP address could not be found.
    Try:
    
    Checking the connection
    Checking the proxy, firewall and DNS configuration
    Running Windows Network Diagnostics
    ERR_NAME_NOT_RESOLVED
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  5. mrbronz

    mrbronz Member HowtoForge Supporter

    THe web site is working gregson.me.uk but not test.gregson.me.uk
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    That name does not resolve from your name servers:
    Code:
    $ whois gregson.me.uk | grep --after-context=3 "Name servers:"
        Name servers:
            ns1.gregson.me.uk         81.142.113.178
            ns2.gregson.me.uk         81.142.113.179
    
    taleman@puhuri:/tmp
    $ host test.gregson.me.uk 81.142.113.178
    Using domain server:
    Name: 81.142.113.178
    Address: 81.142.113.178#53
    Aliases:
    
    Host test.gregson.me.uk not found: 3(NXDOMAIN)
    taleman@puhuri:/tmp
    $ host test.gregson.me.uk 81.142.113.179
    Using domain server:
    Name: 81.142.113.179
    Address: 81.142.113.179#53
    Aliases:
    
    Host test.gregson.me.uk not found: 3(NXDOMAIN)
    taleman@puhuri:/tmp
    
     
  7. mrbronz

    mrbronz Member HowtoForge Supporter

    Yes, I know, And I don't know what the issue is, that why I need help
     
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Neither do I.
    If only you would show what you have entered in name service for the not resolving name . . .
     
  9. mrbronz

    mrbronz Member HowtoForge Supporter

    I am not happy to share it but not in a public area is there some other way I can send you the info?
     
    Last edited: Jan 16, 2024
  10. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Since sub1 works in name service, compare that to what you have entered for the not working entry. There must be some difference.
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    The second screenshot is the list of websites?
     
  12. mrbronz

    mrbronz Member HowtoForge Supporter

    Correct...
    I am showing that I have done the same for subdomains.
    My thought is that if one was working, copy the exact same thing to any new subdomains.
    That's how I set up my original sub so there should be no reason for it not to work for any new sub.
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    and there is no blinking red dot in the upper navigation bar of ISPConfig at the moment? So all changes have been written to disk?
     
  14. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    The sub1 domain was working yesterday. I sent you a communication in this forum, you seem to have missed that. Look in your inbox, top right corner of this window.
    You should follow the troubleshooting instructions in my DNS tutorial, link in my signature.
     
  15. mrbronz

    mrbronz Member HowtoForge Supporter

    That's interesting. I noted that I had accidentally deleted the sub1, so I have just reinstalled it, but now you are saying it's not working?
     
  16. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Have you checked with named-checkzone for errors in the zone file?
    Have you checked if the zone files have been copied to your two name servers?
     

Share This Page