Websites not accessable

Discussion in 'Installation/Configuration' started by por, May 19, 2010.

  1. por

    por New Member

    Hey Till, Falko, and everyone else

    Just ran in to a bit of an issue with my new setup using perfect server Ubuntu 10.04 and ispconfig 3.

    First off I'll start out by saying this is not the first server with ispconfig 3 I have put online. This server was originally setup using perfect server Ubuntu 8.10 with ispconfig 3 and all was perfect with that setup.

    I do realize that the main change in the new server is that its using Bind9 and the old was using MyDNS to handle the dns. But something has gone wrong with my setup and I currently cannot get to any of the websites I put on the ispconfig control panel.

    So if anyone can help I would greatly appreciate it.

    Please let me know any command you would like me to run and I'll post the results asap.

    My netstat -tap results:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 localhost:10024 *:* LISTEN 1047/amavisd (maste
    tcp 0 0 localhost:10025 *:* LISTEN 1610/master
    tcp 0 0 *:mysql *:* LISTEN 765/mysqld
    tcp 0 0 localhost:spamd *:* LISTEN 1051/spamd.pid
    tcp 0 0 *:http-alt *:* LISTEN 1703/apache2
    tcp 0 0 *:www *:* LISTEN 1703/apache2
    tcp 0 0 *:tproxy *:* LISTEN 1703/apache2
    tcp 0 0 *:ftp *:* LISTEN 1623/pure-ftpd (SER
    tcp 0 0 server1.example.:domain *:* LISTEN 924/named
    tcp 0 0 localhost:domain *:* LISTEN 924/named
    tcp 0 0 *:ssh *:* LISTEN 774/sshd
    tcp 0 0 *:smtp *:* LISTEN 1610/master
    tcp 0 0 localhost:953 *:* LISTEN 924/named
    tcp 0 0 *:https *:* LISTEN 1703/apache2
    tcp 0 52 server1.example.com:ssh 192.168.0.192:57804 ESTABLISHED 2275/sshd: administ
    tcp6 0 0 [::]:pop3 [::]:* LISTEN 1498/couriertcpd
    tcp6 0 0 [::]:imap2 [::]:* LISTEN 1455/couriertcpd
    tcp6 0 0 [::]:ftp [::]:* LISTEN 1623/pure-ftpd (SER
    tcp6 0 0 [::]:domain [::]:* LISTEN 924/named
    tcp6 0 0 [::]:ssh [::]:* LISTEN 774/sshd
    tcp6 0 0 localhost:953 [::]:* LISTEN 924/named
    tcp6 0 0 [::]:imaps [::]:* LISTEN 1480/couriertcpd
    tcp6 0 0 [::]:pop3s [::]:* LISTEN 1520/couriertcpd

    So basically what I'm trying to say is that the ispconfig 3 control panel works perfectly, I setup my dns zones using the wizard/template and then added the website under the sites tab, and everything seem to work just as before with the Ubuntu 8.10 and Ispconfig 3 setup. I then went to my website, and it just tries to load and gives an error server not found. The server is setup on the router under the DMZ and all ports are needed ports are open.
     
    Last edited: May 19, 2010
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    To test the dns server, you might use this command on the server:

    dig @localhost yourdomain.com

    replace yourdomain.com with the domain that you want to check.
     
  3. por

    por New Member

    Output of dig @localhost mydomain.com
    ; <<>> DiG 9.7.0-P1 <<>> @localhost mydomain.com
    ; (2 servers found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 31523
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;mydomain.com. IN A

    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Wed May 19 17:05:45 2010
    ;; MSG SIZE rcvd: 27
     
    Last edited: May 21, 2010
  4. por

    por New Member

    Also another quick note, sure this should not have this warning. I just manually stopped all services and when I got to apache this is what I got.
    * Starting web server apache2 [Wed May 19 17:30:26 2010] [warn] NameVirtualHost XX.XXX.XX.XXX:443 has no VirtualHosts
     
  5. por

    por New Member

    Ok. Since I couldn't seem to figure out way bind would not resolve my domains. I did the following.

    1. Uninstalled Bind
    2. Uninstalled ispconfig
    3. Installed MyDNS instead of Bind
    4. Reinstalled ispconfig

    And to my amazement everything works flawlessly now!

    I don't know why the zone wouldn't work being files, and I know MyDNS uses a mysql database to store the zone information but atleast everything is now online and working again. I'll have to put a test server together on a virtual server and do some more testing as to why Bind would not resolve using its files. Until then if anyone has any ideas or input on some other things I could test on a virtual server I would love to hear your ideas
     
    Last edited: May 21, 2010
  6. Leoncio Eder

    Leoncio Eder New Member

    Hi guys:
    When i try to navigate the new website this pointing to http:///src/login.php so the login page of squirrelmail and not to the index of this web.
    Can you help me please?
     

Share This Page