ISPConfig 3 - How do you Propperly Manage DNS and and Add New Site?

Discussion in 'Installation/Configuration' started by adobe, Sep 19, 2008.

  1. adobe

    adobe New Member

    Hello,

    After several attempts, I've finally managed to install ISPConfig 3 from this url http://www.ispconfig.org/downloads/ISPConfig-3.0.0.6-beta.tar.gz and I was ablet to login to the admin cp.

    I added a new "client" and then logged in as the client. I clicked on the tab "DNS" first and clicked the button "Add new DNS Zone (SOA)" and Filled it up like this:

    [​IMG]

    Then I clicked the tab "Records" and added a few records like this:

    [​IMG]

    Then on my Godaddy account, I added 2 host entries (ns1.nemesis-warcraft.com and ns2.nemesis-warcraft.com) and then editted my nameserver of my domain name to point to ns1.nemesis-warcraft.com and ns2.nemesis-warcraft.com like this:

    http://img88.imageshack.us/img88/8778/84026752tw1.png

    Then back on the ISP Config, I clicked the "Sites" -> "Add new website" and filled it like this:

    [​IMG]

    Now, i visited this url in browser (after 48 hours - nameserver propagation time) : http://www.nemesis-warcraft.com

    And i am getting re-directed to this page : http://www.nemesis-warcraft.com/apache2-default/ and i see "It Works!" page

    If i visit the url http://nemesis-warcraft.com, now i see "Welcome to your website!" page like i am supposed to.

    So, why isn't http://[B]www.[/B]mydomain.com is re-directing to the default apache2 page? Where have I gone wrong? Please advice, first time messing with DNS :(
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    First to the DNS setup. CNAME records always point to a domain name and not a IP, so edite your cname record and change the IP address to nemesis-warcraft.com. If you want to point a domain to a IP, then use a A-Record and not CNAME.

    Second to the website: You created the site nemesis-warcraft.com and not www.nemesis-warcraft.com as you can easily see on your own screenshot. So to fix this:

    1) Change nemesis-warcraft.com to www.nemesis-warcraft.com
    2) If you want that you get the same site when you enter nemesis-warcraft.com (without www), then add a subdomain for nemesis-warcraft.com that points to www.nemesis-warcraft.com

    Also you should update ISPConfig to the latest release by running this command on the shell first:

    ispconfig_update_from_svn.sh
     
  3. adobe

    adobe New Member

    Last edited: Feb 2, 2011
  4. adobe

    adobe New Member

    Okay, I take back what I said. Adding www as a subdomain doesn't seem to be working.

    How do I properly do this using DNS? Please advice.
    ________
    BMW F3
    ________
    Ford Mustang variants picture
     
    Last edited: Feb 9, 2011
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Please dont mix up dns and the website, that are two completely different things!

    First, check the dns part. Does the command:

    dig www.nemesis-warcraft.com

    return the IP address of the server? If yes, dns is ok and nothing has to be changed.

    Second, the website part. There had been a few bugfixes in the latest version. Please update to ISPConfig 3.0.0.7. Then delete the www alias domain and create it again.
     
  6. odonel

    odonel New Member

    why do i always get when adding DNS entries ?

    Error:
    Email format invalid.

    ispconfig RC1

    i tried [email protected]. adim.mysite.com., admin.mysite.com

    always comes with email error

    thanx
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    The correct format in the dns records is:

    admin.mysite.com.

    and when you use the dns wizard, the format is:

    [email protected]

    I just tested it and it works fine for me.
     
  8. farnoud

    farnoud New Member

    I have a domain with tucows they just let me choose a nameserver that already exist.

    my domain is hadifarnoud.com and I configured my DNS zone as described here but in tucows panel I cannot use ns1.hadifarnoud.com because it says doesnt exist.

    I don't know why you can use ns1.domain.com and I cant ( tucows only accept names and wont let me enter IP )
     

    Attached Files:

Share This Page