Forum OpenACS Q&A: setting up my machine to serve pages
running Mandrake 8.1
Everything works fine when using the localhost settings 127.0.0.1.
Now I want to make the pages accessible from outside.
I am in a bit of a confusion on how to this properly.
when i type as root: ip address, I get this:
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1500 qdisc pfifo_fast
inet 184.108.40.206 peer 220.127.116.11/32 scope global ppp0
Basically for now, I will be happy to get the index page, by typing
the ip address in the browser.
is my ip address 18.104.22.168 ?
I've tried to replace the 127.0.0.1 in my nsd.tcl file, but it
Can you help?
http://22.214.171.124:8000. When I type this it automatically goes to
http://home.bradut.com:8000. So far so good... by the book.
The domain name I have bradut.com is registered with a company in
UK, easily.co.uk, which does email and web forwarding. At the moment
the web is forwarded to http://web.ukonline.co.uk/bradut.
New problem is that pages, cannot be seen outside the local machine
it typing http://[some ip address], .
Also does anyone know what shall I do, so that queries for
www.bradut.com, point to to my local machine? So, although I am not
sure how to expres this, how do I set my machine to be the host for
my www.bradut.com domain.... is that right?
Thnaks for any replies,
set hostname 'your public domain name'
set address 'your public ip address'
you have to ensure that nslook up 'your public domain name' return 'your public ip address'
If you have a dynamic ip address then is better to use the services provided by: www.dyndns.org
If you have a static ip address then you can/should manage the DNS entry, using free services from www.granitecanyon.com and adding information in 'whois' database about your new DNS.
I hope this can help you.
I really want to get the pages on my local machine seen outside, when typing the ip address. I think I need to understand how this works, before I can worry about the name translation issue (and yes, I have looked through other threads on this issue... the ones that appear in my searches anyway..
Ok, my ip address today is 126.96.36.199 - I am at work away from local machine - tried to ping it from work, it timed out.
When typing http://188.8.131.52:8000 it times out, but the entry transforms itself to http://www.bradut.com:8000. Does this mean that the request reaches the server ? Why can't I see anything then in the browser?
my nsd.tcl setting are
set hostname www.bradut.com
set address my ip address
Is there a problem because I use the port 8000?... should I be using port 80?
Also when I have tried nslookup for my hostname it times out, but I guess this could be a different issue than the one that occupies me at the moment... accessing my test page, by typing the ip address.
#set hostname www.bradut.com
and restart nsd
then you should use that name :)
I am not sure what that really means... the reply to nslookup.
Still I have modified the setting in nsd.tcl file from port 8000 to
On my browser on my local machine everything works well... I am
waiting to find out from a friend when he gets the time to check
both http://184.108.40.206 and http://www.bradut.com
I am a bit in the dark of how all this naming and ip-ing works...
but I start to understand some of it.
I found a site that http://www.undernic.net - you can put your
domain on their name servers, which I've listed in my DNS look-up
records... I shall know in a few days how all this works (while my
current provider also updates their records...that I moved from
their name servers...)
Anyway at least I can now play quite well with the modules on my
local machine and start learning stuff.
Thanks Antonio for your help
while trying to retrieve the URL: http://localhost.bradut.com:8000/ "
this is what I am getting on an external machine when putting
http://[my_ip_address]:8000 in the browser. (which means that the
address is resolved ...isn't it?)
(Again all works well in my local machine....connection wise)
I've set up localhost.bradut.com as my hostname+domain name in my
Also localhost.bradut.com is pointing to my [ip address] in etc/hosts
Is there some security setting in aolserver that doesn't allow
anyone from outside to see the pages served? My nsd.tcl is exactly
the default one, unmodified following the rpm installation.
I have tried running apache (while stopping aolserver and postgre),
and that works fine on external machines, which leads me to believe
is a aolserver config issue.....pls, help...;)
- use your external address:(220.127.116.11, you can see this using ifconfig)
- using nslookup www.braudt.com must be related to 18.104.22.168.
set hostname host217-39-20-102.in-addr.btopenworld.com
set address 22.214.171.124
To test if your configuration work, you can try:
- telnet 126.96.36.199 8000
If that works, than you must wait the DNS name propagation.
?...i.e. can see http://localhost.bradut.com when apache is
running? where localhost.bradut.com is the localhost + domain name
as set up on the local machine.
Thanks for your help Antonio.... I am still baffled by why in apache people could use www.bradut.com and see the index page.... but I shall consider this to be a secondary problem for now. I'll probably return with TCL specific questions from now...