#1  
Old 17th April 2013, 21:12
ganewbie ganewbie is offline
HowtoForge Supporter
 
Join Date: Apr 2013
Posts: 13
Thanks: 4
Thanked 0 Times in 0 Posts
Default domain name does not work

Hello,
Can login to ISPCONFIG 3 interface only when I type the internal/external IP address.
But cannot use the domain name, however I have added name server with my registrar two days ago now.
Here is a summary of my setup, Please help.
When i try to view the website using the public IP address , I get to see the Linux website sample where it says It works! and i do not get to see the ISPCONFIG 3 index file.


Linux Distribution and version used on your server. (12.4.4) LTS, Precise Pangolin
ISPConfig version (3.0.5.2)

Webserver software Apache2

Here is the output of dig @localhost yourdomain.tld

; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached

Here is the output of /var/log/syslog

Apr 17 14:05:01 server1 postfix/smtps/smtpd[3694]: disconnect from localhost.localdomain[127.0.0.1]
Apr 17 14:05:01 server1 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Apr 17 14:05:01 server1 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Apr 17 14:05:01 server1 postfix/smtps/smtpd[3694]: connect from localhost.localdomain[127.0.0.1]
Apr 17 14:05:01 server1 postfix/smtps/smtpd[3694]: SSL_accept error from localhost.localdomain[127.0.0.1]: lost connection
Apr 17 14:05:01 server1 postfix/smtps/smtpd[3694]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Apr 17 14:05:01 server1 postfix/smtps/smtpd[3694]: disconnect from localhost.localdomain[127.0.0.1]
Apr 17 14:05:01 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Apr 17 14:05:01 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Apr 17 14:06:01 server1 CRON[3846]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Apr 17 14:07:01 server1 CRON[3851]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Apr 17 14:08:01 server1 CRON[3856]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Reply With Quote
Sponsored Links
  #2  
Old 17th April 2013, 23:40
danhansen@denmark danhansen@denmark is offline
HowtoForge Supporter
 
Join Date: Mar 2013
Posts: 201
Thanks: 41
Thanked 4 Times in 4 Posts
Exclamation Apply additional information - "How ToDo" after installing the "ISPConfig3 Server"

Hi,

Please start your post with information of your system - include the things I'm asking you about beneath. It take's to much time if we have to ask about it, when all you need to do is to make a "header" template to insert whenever you post a new post. (Just an idea)

First step! ISPConfig3 Manual":
http://docs.ispconfig.org/dns-basics/


"...Can login to ISPCONFIG 3 interface only when I type the internal/external IP address.
But cannot use the domain name, however I have added name server with my registrar two days ago now.
Here is a summary of my setup, Please help.
When i try to view the website using the public IP address , I get to see the Linux website sample where it says It works! and i do not get to see the ISPCONFIG 3 index file..."


1. Is it Ubuntu Server or Desktop?

2. Is it "Single Server Setup" (nameserver, mailserver, webserver, sqlserver on the same server?

3. Is your WAN IP a fixed IP or do you use any kind of DDNS service
If "No" - Stop right here... If "Yes" - please go on.

4. There is no single "index.file" to find for the ISPconfig Server! You need to read the manual! All sites has to be created: DNS-records, create client, create website, create maildomain, create mailbox etc. etc.) Short info right here:
http://docs.ispconfig.org/dns-basics/

But, you need to download the real manual! You can get it here:
http://docs.ispconfig.org/dns-basics/

5. Did you test your primary nameserver at your ISP technical support/site? Or on another test site? Did you set up the secondary nameserver to (ns2.somednsservice.tld) and did you set up the secondary nameserver to work only as secondary nameserver.

6. Did you set up the IP-numbers for the second nameserver in your ISPconfig CP?:
Allow zone transfers to these IPs (comma separated list)

7. Did you make a "glue-record" for your primary nameserver in your ISPConfig DNS setup

8. .... Well, I have more questions, but I would like some answers first. let's see how long this will take you
Reply With Quote
  #3  
Old 18th April 2013, 02:37
ganewbie ganewbie is offline
HowtoForge Supporter
 
Join Date: Apr 2013
Posts: 13
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Thanks for the reply and excuse a newbie, here is what you have asked for:
1- Ubuntu 12.04 server.
2- single server setup. as per http://www.howtoforge.com/perfect-se...ot-ispconfig-3
3- WAN is 2 static IP addresses.
4- What I meant by default index is what you have at the bottom of this document where it says "welcome to your website !" with a green banner
I have bought the manual already.
5- I tested ns1 and ns2 name server that I have created at the regitrar and the results are OK and it shows my public IP addresses.
6- I did not but now I have added only one IP as it says "Xfer: Please use an IP address"
7- I have creatd name servers as I mentioned in 5.
Any help is appreciated.
Thanks,
Reply With Quote
  #4  
Old 18th April 2013, 12:06
ganewbie ganewbie is offline
HowtoForge Supporter
 
Join Date: Apr 2013
Posts: 13
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Update

Added nameserver DNS A record and now I can see the website from any computer outside of my network.

E-mail still not working.

Apr 18 05:33:54 server1 postfix/smtps/smtpd[9072]: connect from localhost.localdomain[127.0.0.1]
Apr 18 05:34:54 server1 postfix/smtps/smtpd[9072]: SSL_accept error from localhost.localdomain[127.0.0.1]: -1
Apr 18 05:34:54 server1 postfix/smtps/smtpd[9072]: warning: TLS library problem: 9072:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:628:
Apr 18 05:34:54 server1 postfix/smtps/smtpd[9072]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Apr 18 05:34:54 server1 postfix/smtps/smtpd[9072]: disconnect from localhost.localdomain[127.0.0.1]

Apr 18 05:36:25 server1 dovecot: auth-worker: mysql(localhost): Connected to database dbispconfig
Apr 18 05:36:25 server1 dovecot: imap-login: Login: user=<info@enginet.co>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=9137, secured
Apr 18 05:36:25 server1 dovecot: imap(email@domain.tld): Disconnected: Logged out bytes=79/687
Apr 18 05:38:06 server1 dovecot: imap-login: Login: user=<email@domain.tld>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=9150, secured
Apr 18 05:38:06 server1 dovecot: imap(email@domain.tld): Disconnected: Logged out bytes=292/1902

What could be the problem?

Thanks in advance,
Reply With Quote
  #5  
Old 19th April 2013, 16:46
danhansen@denmark danhansen@denmark is offline
HowtoForge Supporter
 
Join Date: Mar 2013
Posts: 201
Thanks: 41
Thanked 4 Times in 4 Posts
 
Exclamation ISPconfig - mailserver problem - check port 25 and mailserver ability to send/receive

Hi,

No need for excuses

I am fighting the mailserver too!

Check that port 25 is open . you need to check it from the outside:


To test "port 25" from the outside:

https://www.grc.com/x/ne.dll?bh0bkyd2

Then hit: "proceed"
Then hit "common ports"
(If you wish to test more than the common ports, hit "All service ports" instead.)

Your stuff will be tested... After the test:

Then hit "Text summary" and you will be able to see if port 25 is open!


Then to test your mailserver SMTP


Goto:
"http://mxtoolbox.com/"

Enter this:
"mx:yourdomain.tld"
or
"mx:youripnumber"

The service will test your servers ability to receive/send mail.. You can read the info and try some other stuff to ..

Your results should look a lttle like this:


--------------------------------------------------------------------------------------------------------------------------------

smtp:xxx.xxx.xxx.xxx Monitor This

smtp

220 server1.yourdomain ESMTP Postfix

SMTP Reverse Banner Check OK - xxx.xxx.xxx.xxx resolves to "some text from your ISP"
SMTP Reverse DNS Mismatch Warning - Reverse DNS does not match SMTP Banner
SMTP TLS Warning - Does not support TLS.
SMTP Connection Time 0.983 seconds - Good on Connection time
SMTP Open Relay OK - Not an open relay.
SMTP Transaction Time 3.541 seconds - Good on Transaction Time
Session Transcript:

220 server1.yourdomain.tld ESMTP Postfix [796 ms]
EHLO please-read-policy.mxtoolbox.com
250-server1.yourdomain.tld
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN [796 ms]
MAIL FROM: <supertool@mxtoolbox.com>
250 2.1.0 Ok [796 ms]
RCPT TO: <test@example.com>
554 5.7.1 <test@example.com>: Relay access denied [796 ms]
QUIT

SendSMTPCommand: You hung up on us after we connected. Please whitelist us. (connection lost)

--------------------------------------------------------------------------------------------------------------------------------
The warnings are to be looked at at a later time when your main issue has been solved..

and the other test the result should look like this:

--------------------------------------------------------------------------------------------------------------------------------

GRC Port Authority Report created on UTC: 2013-04-19 at 14:37:05

Results from scan of ports: 0, 21-23, 25, 79, 80, 110, 113,
119, 135, 139, 143, 389, 443, 445,
1002, 1024-1030, 1720, 5000

7 Ports Open
19 Ports Closed
0 Ports Stealth
---------------------
26 Ports Tested

NO PORTS were found to be STEALTH.

Ports found to be OPEN were: 21, 22, 25, 80, 110, 143, 443

Other than what is listed above, all ports are CLOSED.

TruStealth: FAILED - NOT all tested ports were STEALTH,
- NO unsolicited packets were received,
- A PING REPLY (ICMP Echo) WAS RECEIVED.

--------------------------------------------------------------------------------------------------------------------------------

Let's see how far this will take you


Kind Regards,
Dan

Last edited by danhansen@denmark; 19th April 2013 at 16:50. Reason: Just not satisfied with the looks :)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix queue problem? murunix Server Operation 7 2nd May 2011 01:55
Sending mail ISPConfig 3 but not receivind catza Installation/Configuration 20 19th May 2010 12:47
Mail doesn't work to people in same domain bswinnerton Installation/Configuration 9 31st January 2008 17:50
My domain name doesnt work to virtual directory leventersoy Installation/Configuration 1 14th January 2008 09:35
Pure domain DNS doesn't work SyRenity Installation/Configuration 7 12th December 2006 12:12


All times are GMT +2. The time now is 22:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.