Problem with domain website

Discussion in 'General' started by emOne, Jul 25, 2019.

  1. emOne

    emOne New Member

    I have a problem.

    the hostname for my ISPconfig is server1.mydomain.com.
    Now I have added a user and site for mydomain.com ... I cannot connect to the site through my browser.
    I have used "dig" and the authoritative server returns "REFUSED"... Did I do something wrong?
    My other domains and sites work fine it seems. I even have a different domain pointed to ns1.mydomain.com and that works fine.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the dns of the domain with e.g. intodns.com to ensure that the domain points to the right IP address.
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  4. emOne

    emOne New Member

  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  6. emOne

    emOne New Member

    host isn't returning an IP. The registrar says everything is linked correctly on their end, and that I need to talk to my hosting provider (myself).

    Take a look at the domain https://intodns.com/mydomain.com
     
    Last edited: Jul 25, 2019
  7. emOne

    emOne New Member

    Is it a problem that I named my ISPconfig host server1.mydomain.com, and that is why I have a problem hosting a site on mydomain.com? Maybe there is a conflict somewhere.
     
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    No.
    But that is a problem.
    Did you notice intodns found several errors in your setup?
     
  9. emOne

    emOne New Member

    Yes I did notice. I think there must be some conflicts. I used the IPSconfig_setup.sh script on GitHub on ubuntu 1804. I might format the server and install ISPconfig again from the instructions. It took me about 2 days installing from the instructions and at some point I got stuck.
     
  10. emOne

    emOne New Member

    Or maybe it has something to do with the fact that I installed varnish (but have not yet configured it)

    Edit: I am formatting the system now.
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    This is not an ispconfig install problem, you tested it with the hosts file and it worked, this means that your server was working perfectly fine. As you can see at intodns, its a dns problem.
     
  12. emOne

    emOne New Member

    I had a look in /etc/bind/named.conf.local
    and I only see zones for my other domains, but not my main domain that I assigned to the hostname of ISPconfig.

    Edit: There is a file /etc/bind/pri.mymaindomain.com.err (I guess the err means error and something is wrong. There is definitely some conflict)
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    This is no indication for a conflict, the .err file is normally an indication of an incomplete zone file. Check the zone in ispconfig to ensure that you did not miss to add a record and that all fully qualified domain names end with a dot.
     
  14. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  15. emOne

    emOne New Member

    From my first post.
    Yes, I am running DNS.

    All other domains don't have this problem. Only the domain name that is the same as the hostname of the ISPconfig machine.
     
  16. emOne

    emOne New Member

    All records are fine. For other domains the same records work.

    How do I do that? Where are they supposed to end in a dot?
    Edit: Yes they all end in a dot.
     
  17. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is your name service working now? Have you read that DNS Tutorial?
    If still not working, this thread is going nowhere until you write what your hostname and domain name are.
     
  18. emOne

    emOne New Member

    The problem is within the ISPconfig set up. Ubuntu 18.04 + nginx + mariadb+ ISPconfig.
    It adds zones correctly into the zone files for all my domain names, except my domain that is also hostname of the box, i.e. server1.mydomain.com..

    All other websites open just fine...
     
  19. emOne

    emOne New Member

    This is ridiculous. I gave you my hostname and domain name yesterday... If you weren't able to figure out the problem with the hostname than I doubt someone else will either.. The problem is within ISPconfig .
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    Really, I doubt that. But we can see easily which record you missed to add or which record you mistyped. Run the command:

    named-checkzone mymaindomain.com /etc/bind/pri.mymaindomain.com.err

    and post the result. If the record you added in ISPConfig would have been fine, the BIND would not have rejected it.
     

Share This Page