Couple of questions

Discussion in 'Installation/Configuration' started by valter, Dec 30, 2007.

  1. valter

    valter New Member

    Now I have installed ISPConfig on SuSE 10.3 x86, but still waiting for some answers regarding x64 system. Anyway, I would like to know the following:

    1. Sites created in ISPConfig are created in /srv/www folder. How can I find out on what partition /srv is located? Because, I've made a /home partition really large and thought that ISPConfig will create sites on that partition. If /srv/ is actually located @ '/', is there any way to configure ISPConfig to create sites on /home?

    2. Name Servers is ISPConfig are automatically pre-cofigured with the hostname and domain name of the ISPConfig box. So if my box is server1.domain.tld, name servers for all sites created in ISPConfig will be server1.domain.tld. Is there any way to pre-configure NS value to ns1.domain.tld and ns2.domain.tld?

    3. I have a newly created TLD for the ISPConfig box, i.e. domain.tld. Now, how can I administer this domain on the ISPConfig box? What I mean is that, how can I bind this domain to the ISPConfig box without leaving NS servers for this domain @ my Internet domain register?

    4. Since ISPConfig box is behind router and NAT, do I have to add my public (global) IP address to the address list, or the local IP is just enough? I ask this because, if the local one is fine, then I have to manually change IP address for the DNS records for evey site I create.

    5. MX record for every site is MX 10 server1.domain.tld. Is tehre anyway to pre-configure this to mail.domain.tld and automatically create mail host DNS record with the respected IP address?

    6. What ISPConfig backup funkction actually backs-up? Only ISPConfig configuration or just everything in ISPConfig (i.e. websites, configuration, mails...)?

    7. Since during apache configuration (SuSE 10.3 perfect setup guide) DirectoryIndex line includes also .aspx, is it possible to run ASP.NET webpages on this machine? If so, is there any configuration in ISPConfig for this, like ASP.NET 1, ASP.NET 2...?
     
  2. Hans

    Hans Moderator ISPConfig Developer

    1) If you want ISPConfig to create sites within /home, you have to change this setting within ISPConfig under Management > Server > Settings > Web.
    Change /srv/www within /home

    2) For every site, you create with ISPConfig, you are free to define the hostname and domainname.
    You can do this on the basis tab of a site. The default hostname should be "www" not "server1".
    You can change it within "www" within ISPConfig under Management > Server > Settings > Server.

    3) You can do this with the DNS-Manager within ISPConfig.
    Remember that you must have 2 DNS-servers at least to registar domains.

    4) In the IP-list within ISPConfig, only use your internal IP-address, not your public one.

    5) You can do this on the basis tab of the site you are creating.

    6) The backup function within ISPConfig (if enabled) creates only backups of the webspaces, but not the MySQL databases. It does not create backups of configuration files, passwords, systemusers and so on. To backup your whole server, there are other methods.

    7) On a default ISPConfig server it is not possible to manage MicroSoft .net based and/or .asp.net and .aspx websites. I have heard that it should be possible on a Linux system, but i don't have experience with that.
     
    Last edited: Dec 30, 2007
  3. valter

    valter New Member

    Well here's what I've done:

    1. Registered brand new domain domain.tld
    2. Updated name serversto point to the ISPCOnfig box
    3. Created new site and DNS records (corrected local to global IP addresses)
    4. Created mail user

    and here's what I end up with:

    1. www.domain.tld (cannot open website, servr not found)
    2. www.domain.tld doesn't reply to ping (ping: cannot resolve www.domain.tld: Unknown host)
    3. I can send mail using mail [email protected], but when I reply to that message, the message is neither received nor returned to the sender's mailbox as undeliverable.
    4. Here is output of the nslookup:

    Code:
    localhost:~ admin$ nslookup
    > domain.tld
    ;; Got SERVFAIL reply from 192.168.1.37, trying next server
    ;; Got SERVFAIL reply from 192.168.1.38, trying next server
    ;; Got recursion not available from 192.168.1.38, trying next server
    Server:		192.168.1.39
    Address:	192.168.1.39#53
    
    ** server can't find domain.tld: NXDOMAIN
    > 
    
    5. While booting, there is the following message:
    Starting rquota daemon rpc.rquotad: Warning: Cannot open export table /var/lib/nfs/etab No such file or directory Using '/' as pseudofilesystem root


    Any idea what could be wrong?
     
    Last edited: Dec 30, 2007
  4. falko

    falko Super Moderator ISPConfig Developer

    Can you post the real domain name so that I can run a check?
     
  5. valter

    valter New Member

    I've sent you a pm :)
     
  6. falko

    falko Super Moderator ISPConfig Developer

    There are no records for the domain. The authoritative nameservers for the domain are ns1 - ns4.itpro-host.com, so please create the records there.
     
  7. valter

    valter New Member

    ns1 and ns2 are the ISPConfig box, and that's what confuses me as well that that box does not reply with an answer
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Then you must tell your domain registrar that you want to use your ISPConfig system as the authoritative nameserver instead of ns1 - ns4.itpro-host.com.

    Is BIND running?
     
  9. valter

    valter New Member

    ns1.itpro-host.com and ns2.itpro-host.com are pointing to ISPConfig box and are registered as name servers for that domain. Yes, BIND is running. Now I can't even get to my ISPConfig box via web address, since I have created that domain in ISPConfig...
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

  11. valter

    valter New Member

    My NS records are just fine, and here is why:

    1. itpro-host.com NS is my ISPConfig box
    2. if I use www as host name, I get the ISPConfig place holder page (it works)
    3. When I've created new site in ISPConfig for itpro-host.com I've made another DNS record for the host heracles what should be my ISPConfig login page, and that one doesn't work.

    Now, I still can send e-mail from another domain using roundcube e-mail, the message come to its destination just fine, but when I reply, it never reaches it's origin... :(
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Have a look at your mail logfile for errors.
     
  13. valter

    valter New Member

    I will, but why can't I access my ISPConfig box now using URL nor IP address?
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check with:

    netstat -tap

    if the ispconfig apache server is listening on port 81.
     
  15. valter

    valter New Member

    it is listed as ispconfig_http *:hosts2-ns
     
    Last edited: Jan 4, 2008
  16. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    iptables -L
    ? Did you disable AppArmor?
     
  17. valter

    valter New Member

    here is the output of iptables -L

    heracles:~ # iptables -L
    Chain INPUT (policy DROP)
    target prot opt source destination
    DROP tcp -- anywhere loopback/8
    ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
    ACCEPT all -- anywhere anywhere
    DROP all -- BASE-ADDRESS.MCAST.NET/4 anywhere
    PUB_IN all -- anywhere anywhere
    PUB_IN all -- anywhere anywhere
    PUB_IN all -- anywhere anywhere
    PUB_IN all -- anywhere anywhere
    DROP all -- anywhere anywhere

    Chain FORWARD (policy DROP)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
    DROP all -- anywhere anywhere

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    PUB_OUT all -- anywhere anywhere
    PUB_OUT all -- anywhere anywhere
    PUB_OUT all -- anywhere anywhere
    PUB_OUT all -- anywhere anywhere

    Chain INT_IN (0 references)
    target prot opt source destination
    ACCEPT icmp -- anywhere anywhere
    DROP all -- anywhere anywhere

    Chain INT_OUT (0 references)
    target prot opt source destination
    ACCEPT icmp -- anywhere anywhere
    ACCEPT all -- anywhere anywhere

    Chain PAROLE (8 references)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere

    Chain PUB_IN (4 references)
    target prot opt source destination
    ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
    ACCEPT icmp -- anywhere anywhere icmp echo-reply
    ACCEPT icmp -- anywhere anywhere icmp time-exceeded
    ACCEPT icmp -- anywhere anywhere icmp echo-request
    PAROLE tcp -- anywhere anywhere tcp dpt:ftp
    PAROLE tcp -- anywhere anywhere tcp dpt:ssh
    PAROLE tcp -- anywhere anywhere tcp dpt:smtp
    PAROLE tcp -- anywhere anywhere tcp dpt:domain
    PAROLE tcp -- anywhere anywhere tcp dpt:http
    PAROLE tcp -- anywhere anywhere tcp dpt:hosts2-ns
    PAROLE tcp -- anywhere anywhere tcp dpt:pop3
    PAROLE tcp -- anywhere anywhere tcp dpt:https
    ACCEPT udp -- anywhere anywhere udp dpt:domain
    DROP icmp -- anywhere anywhere
    DROP all -- anywhere anywhere

    Chain PUB_OUT (4 references)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere

    AppArmor is disabled.
     
  18. falko

    falko Super Moderator ISPConfig Developer

    Does it work when you disable the firewall?
     
  19. valter

    valter New Member

    Linux firewall is disabled, only ISPConfig firewall is running.
     
  20. falko

    falko Super Moderator ISPConfig Developer

    Hm, then you should be able to access ISPConfig. Do you use http or https for ISPConfig? If it's https, maybe your SSL certificate is corrupt. You can create a new one like this:
    http://www.howtoforge.com/forums/showthread.php?t=121
    Please accept the default values.
     

Share This Page