Problems and Questions

Discussion in 'Installation/Configuration' started by Krrose27, Nov 14, 2007.

  1. Krrose27

    Krrose27 New Member

    1) When connecting to my ip: 97.***.**.**, it shows the root of the site. Isn't it supposed to show the shared ip thing?

    2) I have setup a dns server through godady and a tutorial on this site. I have setuo, a client and a site. The site shows up but when connecting to the site it dosent connect. Does the dns just need to update?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please make sure that the IP 97.... is set under management > server > settings in ISPConfig either as server IP or listed in the IP list.

    2) It may take up to 48 hours until DNS records propagate.
     
  3. Krrose27

    Krrose27 New Member


    I checked this and that was the server ip. I added it to the list and recivie the same thing.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's in Vhosts_ispconfig.conf, and what's the output of
    Code:
    ifconfig
    ?
     
  5. Krrose27

    Krrose27 New Member

    and ifcpnfig

    I ha also sent this message to till in a pm

    I'm having some problems.

    1) I setup ubuntu following the perfect setup for 7.10
    2) I then followed the tuttorial on how setup domain ame servers on godaddy. So i bought a domain: namesever-secure.com. And setup two name servers. ns1 and ns2.namesever-secure.com and redirect them both to my ip: 97.101.41.51. Now heres the thing i dont have two servers i have 1, so im trying to connect both ns to the same ip.
    3) I created a client.
    4) Then added a site, krrose27.com which is registered by name cheap and set the ns's to ns1 and ns2.namesever-secure.com.
    5) I also setup an a record for server1.namesever-secure.com and redirect it to my ip.

    If i do dig ns1.namesever-secure.com i get:

    if i dig @ns1.namesever-secure.com any krrose27.com:
    however if i dig server1.namesever-secure.com i get:
    if dig @server1.namesever-secure.com any krrose27.com:
     
    Last edited: Nov 14, 2007
  6. daveb

    daveb Member

    your servers appears to be behind a router and its address is 10.0.5.53
     
  7. Krrose27

    Krrose27 New Member

    correct it is behind a router.

    Its internal ip is 10.0.5.53 the network ip is 97.101.41.51 wich has nescecary ports forwarded to the internal port like port 80. What do i need to change?
     
  8. daveb

    daveb Member

    under management > server > settings in ISPConfig use your internal ip 10.0.5.53
    then for dns settings for your sites use your external ip 97.101.41.51
     
  9. Krrose27

    Krrose27 New Member

    Ok so i went ahead and did this. If you goto my external ip noe u get the shared ip thing.


    HOWEVER if i dig @ns1.namesever-secure.com any krrose27.com

    i still get the unexcpected reply thing.


    root@server1:~# dig @ns1.namesever-secure.com any krrose27.com
    ;; reply from unexpected source: 10.0.5.1#53, expected 97.101.41.51#53
    ;; reply from unexpected source: 10.0.5.1#53, expected 97.101.41.51#53
    ;; reply from unexpected source: 10.0.5.1#53, expected 97.101.41.51#53

    ; <<>> DiG 9.4.1-P1 <<>> @ns1.namesever-secure.com any krrose27.com
    ; (1 server found)
    ;; global options: printcmd
    ;; connection timed out; no servers could be reached





    I also have this in my logs.. dont know whatit means.

    root@server1:~# vi /home/admispconfig/ispconfig/ispconfig.log

    14.11.2007 - 17:55:53 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/apache2 restart &> /dev/null
    14.11.2007 - 17:55:53 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/postfix stop &> /dev/null
    14.11.2007 - 17:55:54 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/postfix start &> /dev/null
    14.11.2007 - 17:55:56 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/bind9 restart &> /dev/null
    14.11.2007 - 17:55:58 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/proftpd restart &> /dev/null
     
    Last edited: Nov 14, 2007
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, this is fine and indicates that your setup works. Now just open the website settings in the ISP-Manager and select the internal IP instead of the external IP.
     
  11. Krrose27

    Krrose27 New Member

Share This Page