Click to See Complete Forum and Search --> : Domain and IP address setup
satimis
11-24-2006, 07:27 AM
Hi folks,
Ubuntu-6.06.1-LAMP-server-amd64
Apache2
Postfix
For testing Apache and Postfix I have a free dynamic domain setup on dyndns.org with a free hostname and dynamic IP asigned.
Please advise which file/files I have to edit so that I can;
1)
send email
2)
people can browse my website to be created later.
TIA
I'm running ADSL broadband with dynamic IP.
B.R.
satimis
MastaShake57
11-30-2006, 06:24 PM
I've heard of this thing called a search engine.... can't remember the name... gaggle? giggle? gurgle? GOOGLE.com, that's it!
Anyways, I decided to do a search on that thing, and I found this....
http://www.howtoforge.com/node/1388
http://packages.ubuntulinux.org/warty/net/ez-ipupdate
Man, this Internet *thing* is cool, maybe one day it will take off! :-D
Seriously, though, a little searching goes a long way...
satimis
11-30-2006, 09:16 PM
Hi MastaShake57,
Tks for your advice.
Anyways, I decided to do a search on that thing, and I found this....
http://www.howtoforge.com/node/1388
I followed this document building this server which is for test purpose.
http://packages.ubuntulinux.org/warty/net/ez-ipupdate
I have ddclient installed on this server which also hands dynamic IP.
I also have domain registered with dyndns.org. Each time IP address changed on server it updates on their website.
Now my problem are;
1) can't send mail from postfix email server
2) on this server ping domain failed.
I tried couple days without a solution. What I found finally was a comment from a folk "ahuh? ubuntu, while attempting to bring ease of use, has finally brought obscurity"
If I have no breakthrough I'll wipe out this Ubuntu-LAMP server and start again running CentOS.
Anyway tks again for your assistance.
B.R.
satimis
MastaShake57
12-01-2006, 11:48 AM
Well, there can be several issues with postfix not being able to send mail. One of the most prevalent is not having a DNS server configured in your /etc/resolv.conf file. You can tell by executing the command "mailq". If you see mail there queued up with a "unable to resolve host", that's pretty much indicative of what I've stated earlier.
Another is that some websites will not accept email from DHCP'd addresses. This happened to me on a couple of occasions and just chalked it up to the fact that I'm not static'd. In any event, send the "mailq" output and we'll go from there. Postfix, by default, should be configured enough to be an send-only SMTP server.
Now, for the pings... are you behind a firewall? Firewalls are configured to discard ICMP echos so that could be your reason behind that.
Let me know...
satimis
12-01-2006, 12:54 PM
Hi MastaShake57,
One of the most prevalent is not having a DNS server configured in your /etc/resolv.conf file.
# cat /etc/resolv.conf
search com
nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver 204.11.126.131
nameserver 64.125.134.133
nameserver 64.125.134.132
nameserver 208.185.179.218
You can tell by executing the command "mailq". If you see mail there queued up with a "unable to resolve host", that's pretty much indicative of what I've stated earlier.
# telnet localhost 25
....
.....
250 Ok: queued as A279C7540A4
mailq
502 Error: command not implemented
quit
221 Bye
Another is that some websites will not accept email from DHCP'd addresses. This happened to me on a couple of occasions and just chalked it up to the fact that I'm not static'd.
I tried some other mail address of my friends. They are not running webmail. Still the same.
Now, for the pings... are you behind a firewall? Firewalls are configured to discard ICMP echos so that could be your reason behind that.
Following is policy;
# iptables -L -n -v
Chain INPUT (policy ACCEPT 34541 packets, 6473K bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 TCPMSS tcp -- * ppp0 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 tcpmss match 1400:1536 TCPMSS clamp to PMTU
Chain OUTPUT (policy ACCEPT 34418 packets, 3378K bytes)
pkts bytes target prot opt in out source destination
B.R.
satimis