ISP_CONFIG configuration and LAN IP/STATIC IP configuration

Discussion in 'Installation/Configuration' started by sasUse, Aug 25, 2006.

  1. sasUse

    sasUse New Member

    shared IP links

    IP config

    I am getting really really confused reading all the forums and replies that people have put in. I am basically a windows user, but seeing that the Linux community is doing so great, i just had to try it. And now, i am loving it. The only drawback is, it's just a bit dauting to get things working. So i am in desparate need of some professional advice.

    My configuration details:

    Basically this is a home server behind an ADSL connected router with a static IP
    OS: CentOS 4.3
    Followed perfect setup for CentOS4.3 64 bit
    Isp_Config installed
    Initially could not access
    My IP address to the network card is (No DHCP)
    My WAN IP is

    I have gone through like 10 pages of the forums that i used to look for the answers, from that i could get access to Thank you all for the same. But I have some questions that i need to ask and get help from you guys.

    Now the questions:

    1. What IP goes where?
    I have read the forums but the more i read the more i get confused. During the installation of my CentOS, i have put in my LAN IP for the network address and in the DNS under Networks i have which has also got my LAN IP address. I would be able to post my /etc/hosts file but I am at work right now so cannot do that. I would gladly do that once I get home. Also, does the static IP go anywhere? I just cannot figure out how is the server going to get resolved externally if i don't use the static IP anywhere. I think this question is the main one, if i can figure this out then probably everything will be just fine.

    2. Does need to be a registered domain name. I don't understand that. If yes, i already have a .com and domain names. Can i use that instead? Or can i use any name i prefer for my domains? Also, if i use a registed domain name, do i need to change anything on the DNS records from whom i have registered my domain names? Sorry to be lame, but yeah, i seriously need to learn all this.

    3. My POP3 service is not working as shown under Isp_Config_Server, can you please provide a link so that i can get that working, though this is not much of an issue. I like to take one step at a time and firstly figure out the web side of things.

    4. How long does it take for DNS changes to go through. What are other things that are not under my control and i just have to wait for it to go through?

    5. Recently i had made some changes to my host file, something like this, webhostingfx
    was changed to webhostingfx

    and i started getting no virtual hosts (don't remember the complete error) when booting CentOS.
    What is the correct entry that has to go through in this, i believe that it should be webhostingfx, but i don't know if i am right. Please guide.

    6. The router is configured for port forwarding for ports 81 and 80. All other ports are blocked. I can open up ports for imap, pop3 etc later on. As long as i can get the web working. Also the router has DMZ settings, i don't know what that is, but i have forwarded that as well. Now by forwarding does it mean that enter the port number to the LAN IP to which the server is installed? If yes, then it would mean that i need to forward ports 81 and 80 to I hope this is correct.

    Lastly but not the least. Firstly what do i put into the name server? I have and I understand the these should be put into a registered domain name, for example, if i had a .com domain name then the primary and secondry name servers should point to ns1.webhosting.... and ns2.webhosting...
    How do i configure DNS records for websites that i create on Isp_Config. I read on a thread that i would have to do that manually. But i don't understand what i need to put in there.

    Thank you all for a wonderful product and for the help. It is much appreciated. If there is anything else that I should include in here, i would be more than happy to, only thing is, i might have to get back home to do that, which would be in another 7 hours time.

  2. falko

    falko Super Moderator ISPConfig Developer

    In ISPConfig you use the system's IP address, the one you see when you run
    (in your case an IP address from your LAN). But in DNS you must use your router's public IP address (e.g. for, and then you must either put your server in a DMZ or tell your router to forward all needed ports to your server. must be a registered domain; webhostingfx is just a subdomain. Once you've registered, you can create as many subdomains in DNS as you like.
    You can use any domain.

    If the domains don't point already to your router's public IP address, you must change that.

    What's the output of
    netstat -tap

    Up to 72 hours.

    What's the output of


    Have a look here:
  3. sasUse

    sasUse New Member

    configuration of DNS and WWW

    Hi Falko,

    Thanks for replying and am sorry to get back to you late as i had a lot of work and also my birthday...but here it is

    Under my registrars control panel, i changed my domain name to have a DNS with Now as this server is not available publicly i understand that i would need to create the server which is the one i am configuring.

    Now, under applications -> System Settings -> Network -> DNS (tab) settings are:
    Hostname: is the registered domain name so i put
    Primary DNS: is fine (from my provider)
    Secondary DNS: is fine (from my provider)
    I am unsure about this one
    DNS Search Path: it was but i changed it to server1

    Now, under applications -> System Settings -> Network -> hosts (tab) settings are:
    IP: (lan IP)
    Aliases: server1

    I hope so far so good

    Now the ISP_CONFIG configuration
    I configured the DNS according to the link that you sent me.
    But here is what i have under DNS manager
    In the tree menu there is a, when i click on that i get the settings window in the right column
    Group: Admin
    Folder: Admin

    Now under the Domain tab:
    Server: Server 1
    IP Address:

    Under the Options tab
    Nameserver 1:

    I don't have another ip, so i don't know if i can configure I? As this is an ADSL connection and i have only one static IP

    Under the Records tab
    A Record has www mail

    C Name does not have anything, and MX has

    Under management -> settings -> server
    Server Name: Server 1
    Hostname: www
    IP Address:
    IP List:

    Under management -> settings -> DNS
    Defaulst ns1:
    I haven't put in the rest of the fields, i think that's not necessary right now...

    And for the ifconfig output:

    [[email protected] ~]# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:0D:61:4F:06:71
    inet addr: Bcast: Mask:
    inet6 addr: fe80::20d:61ff:fe4f:671/64 Scope:Link
    RX packets:1277 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1339 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:708218 (691.6 KiB) TX bytes:215853 (210.7 KiB)

    lo Link encap:Local Loopback
    inet addr: Mask:
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:6030 errors:0 dropped:0 overruns:0 frame:0
    TX packets:6030 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:7042340 (6.7 MiB) TX bytes:7042340 (6.7 MiB)

    For the netstat-tap output:
    [[email protected] ~]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address Stat e PID/Program name
    tcp 0 0 *:32769 *:* LIST EN 2271/rpc.statd
    tcp 0 0 *:mysql *:* LIST EN 2602/mysqld
    tcp 0 0 *:sunrpc *:* LIST EN 2251/portmap
    tcp 0 0 *:81 *:* LIST EN 3109/ispconfig_http
    tcp 0 0 server1.webhostingfx:domain *:* LIST EN 5398/named
    tcp 0 0 localhost.localdomai:domain *:* LIST EN 5398/named
    tcp 0 0 *:ftp *:* LIST EN 3243/proftpd: (acce
    tcp 0 0 localhost.localdomain:ipp *:* LIST EN 2421/cupsd
    tcp 0 0 localhost.localdomain:rndc *:* LIST EN 5398/named
    tcp 0 0 *:smtp *:* LIST EN 5357/master
    tcp 0 0 *:imaps *:* LIST EN 2404/dovecot
    tcp 0 0 *:imap *:* LIST EN 2404/dovecot
    tcp 0 0 *:http *:* LIST EN 3133/httpd
    tcp 0 0 *:ssh *:* LIST EN 2476/sshd
    tcp 0 0 localhost:rndc *:* LIST EN 5398/named
    tcp 0 0 *:smtp *:* LIST EN 5357/master
    tcp 0 0 *:https *:* LIST EN 3133/httpd

    I hope that helps, and thanks a lot once again...
  4. falko

    falko Super Moderator ISPConfig Developer

    You must not use in the server settings if you don't see that IP address i the ifconfig output. Use only. Of course, for the DNS records, you must use again because is a local IP address.

    I don't know if your registrar will accept this. But have a look here: You can do this with one IP address as well.

Share This Page