IP and DNS questions for ispconfig

Discussion in 'Installation/Configuration' started by cpcpy, Feb 7, 2006.

  1. cpcpy

    cpcpy New Member

     
  2. falko

    falko Super Moderator ISPConfig Developer

    Do you have an .htaccess file in /var/www/web1/web or /var/www/web1/web/temp?
     
  3. cpcpy

    cpcpy New Member

    sorry i gave the wrong path...

    my temp files are actually in:

    /var/www/html/temp/a.html
    /var/www/html/temp/b.html

    (maybe i'm not suppose to put anything under /var/www/html in the first place?)

    in any case, no, there is no .htaccess file in /var/www/ or /var/www/*
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The folder /var/www/html is not configured and not supported by ISPCOnfig. You wull have to create a website in ISPCOnfig and put your files in the website folder that ISPCOnfig creates for the website.
     
  5. cpcpy

    cpcpy New Member

  6. falko

    falko Super Moderator ISPConfig Developer

    Sure. Create sub1.example.com in DNS and make sure it points to your ISPConfig box before.
     
  7. cpcpy

    cpcpy New Member

    i created a "site" hostname=sub1 and domain=example.com i tick the "DNS" and "DNS-MX" boxes...
    i've also created a user in this site (sub1.example.com)

    when i go to the DNS section, i see that there is an existing
    =========================================
    domain (SOA) = example.com
    IP = mypublicIP
    nameserver1 = example.com
    nameserver2 = example.com

    under "records":
    A record - IPAddr=myPublicIP, hostname=sub1
    MX record - mailserver=example.com, hostname=sub1
    =========================================

    i'm not sure this SOA record is correctly created by myself earlier, or created by ispconfig after i add the new site sub1

    but problem now is that i can't ping sub1.example.com

    is it due to my TTL?

    or is it to do with the my ISP who is hosting example.com

    (or do i need to restart some process)

    thanks!!
     
  8. cpcpy

    cpcpy New Member

    i have registered a new domain example2.com with godaddy.com

    i want to host this new domain on my ispconfig server (example.com)
    however, when i try to point the DNS of example2.com to example.com, godaddy gives an error, "Unavailable error in field Host name1"

    why does godaddy reject example.com as my DNS server?
    (they don't accept IP address - saying "Nameserver 1 has an invalid TLD")

    must i have a NS record for example.com?
     
  9. falko

    falko Super Moderator ISPConfig Developer

    Is your ISPConfig server the authoritative name server for example.com?

    Every domain must have an NS record.
     
  10. cpcpy

    cpcpy New Member

    looks like the authoritative name server for my example.com is my ISP's DNS...

    i did a:
    dig sub1.example.com @example.com
    and i see that sub1.example.com resolves to the correct IP...

    so what must i do to get things right?

    (i need to be able to use sub1.example.com)
     
  11. ctroyp

    ctroyp New Member HowtoForge Supporter

  12. falko

    falko Super Moderator ISPConfig Developer

    Do you want ot use sub1.example.com for a web site? If its A record points to the correct (public) IP address, then everything's fine.
     
  13. cpcpy

    cpcpy New Member

  14. cpcpy

    cpcpy New Member

    yes, that is what i'd like to do...

    however it is not fine, because i can't ping sub1.example.com and i can't browse http://sub1.example.com

    maybe i didn't create the host sub1.example.com correctly from ispconfig?
     
  15. falko

    falko Super Moderator ISPConfig Developer

    Did you create an A record for sub1.example.com? You can test with
    Code:
    dig sub1.example.com
     
  16. cpcpy

    cpcpy New Member

    digging it doesn't return me my IP address...


    in my DNS manager, i have these settings:
    =================

    domain:
    domain (soa) = example.com

    options:
    nameserver1 = example.com
    nameserver2 = example.com

    Records:
    A record
    ip-addresse = myipaddress
    hostname = sub1

    =================

    currently my ISP is the authoritative server for my domain example.com
     
  17. falko

    falko Super Moderator ISPConfig Developer

    Then you must create the A record on your ISP's name server, not on the ISPConfig server.
     

Share This Page