Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[resolved] home web hosting problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hugomaugey
n00b
n00b


Joined: 18 May 2003
Posts: 20
Location: France

PostPosted: Thu Aug 04, 2005 11:36 am    Post subject: [resolved] home web hosting problem Reply with quote

Hi,

I'd like to host my personal web site on my own computer. I've bought the aix-pc.com domain name, registered at zoneedit.com, installed ddclient. Everything seems to work fine as when I look in the logs I get :

Code:
Aug  4 12:21:08 hugolt ddclient[5586]: SUCCESS:  updating aix-pc.com: IP address set to 82.120.15.213 (200: Update succeeded.)


Here is my ddclient.conf file :

Code:
# Check every 600 seconds :
daemon=600

#log update messages to syslog
syslog=yes

#mail update messages to root
mail=root
mail-failure=root

#record PID in file
pid=/var/run/ddclient/ddclient.pid

#found after IP address
use=web, web=checkip.dyndns.org/, web-skip='IP Address'

# Zone Edit (zoneedit.com)
server=www.zoneedit.com
protocol=zoneedit1
login=****
password=****
aix-pc.com


The problem resides when I try to ping aix-pc.com : it doesn't ping anything ... with the IP, of course it works ...
I think it might be due to DNS configuration or something like that but I don't know much about that, so if you guys have any idea ... you're welcome

thanks


Last edited by hugomaugey on Thu Aug 04, 2005 10:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Thu Aug 04, 2005 11:40 am    Post subject: Reply with quote

It is hardly surprising that you cannot ping your outside IP from within the LAN - just enter the domain and hostnames in /etc/host to point to the internal IP.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
hugomaugey
n00b
n00b


Joined: 18 May 2003
Posts: 20
Location: France

PostPosted: Thu Aug 04, 2005 11:56 am    Post subject: Reply with quote

In fact my computer is behind a router that forwards port 80 to me. My computer is hugodt.noisyfriends.com as noisyfriends.com is my LAN domain name. Should my domain name be aix-pc.com to suit the right specifications ?
I think the two domain names aix-pc.com and noisyfriends.com have no relation but is it true ?
Back to top
View user's profile Send private message
hugomaugey
n00b
n00b


Joined: 18 May 2003
Posts: 20
Location: France

PostPosted: Thu Aug 04, 2005 12:45 pm    Post subject: Reply with quote

I've found the command nslookup (emerge bind-tools), to use instead of a simple ping after a DNS update :

Code:
nslookup -type=NS aix-pc.com
Server:         80.118.192.100
Address:        80.118.192.100#53

Non-authoritative answer:
aix-pc.com      nameserver = ns17.zoneedit.com.
aix-pc.com      nameserver = ns8.zoneedit.com.

Authoritative answers can be found from:
ns17.zoneedit.com       internet address = 209.126.159.118
ns8.zoneedit.com        internet address = 206.55.124.4


so my domain name aix-pc.com is well provided by two zoneedit nameserver ...

If I still can't connect to my web site then the problem comes from transmission of name/address resolution between zone edit nameserver and my ISP (Wanadoo France) nameserver ...

If anybody have ideas ... thanks
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Thu Aug 04, 2005 8:43 pm    Post subject: Reply with quote

Just add the external hostname as an alias for the internal IP of the box in /etc/hosts - all will be fine.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
hugomaugey
n00b
n00b


Joined: 18 May 2003
Posts: 20
Location: France

PostPosted: Thu Aug 04, 2005 10:37 pm    Post subject: Reply with quote

YEEEEEEESSS

you're the best .....8O

thanks very much

Hugo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum