Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 [2] 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Networking Dns help :|< Next Oldest | Next Newest >
tripes_inn Offline





Group: Members
Posts: 28
Joined: Oct. 2005
Posted: Jan. 22 2006,14:59 QUOTE

Quote (northface @ Jan. 22 2006,08:29)
I think I just replied to a post similar to this one. If not,
edit the /etc/resolv.conf file
in the file there are a few lines

nameserver 10.1.1.2 [example]

i 'm discovering monkey web server. I see your post. maybe
you can help me :

I've already bought a domain name. but is it possible to give a name to my IP ( dns ?) for free .


--------------
jerome
Back to top
Profile PM WEB YIM 
northface Offline





Group: Members
Posts: 14
Joined: Jan. 2006
Posted: Jan. 22 2006,22:27 QUOTE

well you can configure your server to listen for web requests. //etc/resolv.conf just tells your computer where to go to for dns name resolution. if you have bought a domain name, then there would be a place to tell the registering name servers where to go to for name resolution. you can either use their name servers or set up your own. if you are using a dynamic ip address then you can check out dynamicdns which is free * the last time I checked it, it was. but that is for people that dont have a domain name registered. I know that if you use register.com for example there is a place where you can use their nameservers or set up your own. in linux you can use bind * berkeley internet name daemon [ i think ]. I am not sure if bind is included in dsl or not. if it is and you dont know how to configure it check out tldp.org that could help you out. if there is some particular thing that you run into then post back and I will see what I can do to help.

NorthFace
Back to top
Profile PM 
northface Offline





Group: Members
Posts: 14
Joined: Jan. 2006
Posted: Jan. 22 2006,22:47 QUOTE

i wish to add that if you can get to a configuration screen to use with your domain registration

1. you get the dns stuff worked out...by that I mean you either get bind to work or use their servers.

2. then you need to add a host record...

www 10.1.1.2

that tells the dns servers that when a name request for www followed by your domain is requested it points it to your ip address where your web server is. then your web server will reply and serve the web page.

I hope this helps.

NorthFace
Back to top
Profile PM 
tripes_inn Offline





Group: Members
Posts: 28
Joined: Oct. 2005
Posted: Jan. 23 2006,19:18 QUOTE

I give up. I don't know linux enough and install the .tar sofware make me crazy. I thought my IP can have a name as my phone number...but it was too simple :

IP is dynamic, there is software for correct this. but i have
understant that it's necessary to have an host anyway
yes ? (ftp://ftp....)

so, what can I do with dsl and mydsl extension if I want to show a webpage ? monkey is so simple

i have already a web host but imagine I don't


I saw this in french can we do the same ?

httpd.conf :

ServerName *

puis, pour les virtuals hosts:

NameVirtualhost *

<VirtualHost *>
ServerName www.monsite.net
DocumentRoot /chemin/des/html
</VirtualHost>

<VirtualHost *>
ServerName moi.monsite.net
DocumentRoot /autre/chemin/des/html
</VirtualHost>

thanks


--------------
jerome
Back to top
Profile PM WEB YIM 
northface Offline





Group: Members
Posts: 14
Joined: Jan. 2006
Posted: Jan. 24 2006,03:22 QUOTE

tripes_inn

just saw your post.

lets start with .tar

1. when I untared things i used example:

tar -xvf file.tar

2. ip address are either static or dynamic. static ip's are ip addresses that don't change. Dynamic ip addresses are issued by a dhcp server and have leases that are set by the isp you get them from. If you have a dynamic ip address and you have a domain name then you can either,

a) update the dns zone file manually everytime it changes.

b) try dynamicdns or something of the sort to do it for you.

"but i have understant that it's necessary to have an host anyway yes ? (ftp://ftp....)"

the first part of (ftp://ftp....) tells the browser that ftp is the protocol that you are using [File Transfer Protocol]
the second part is a host record located in the dns zone file for the domain.

example:

www 10.1.1.2
ftp 10.1.1.3

to test the monkey web server try: http://127.0.0.1 that should take you to a index.html page located in the root directory that monkey web server uses by default.

the httpd.conf file is the configuration file that the http daemon uses for directions. It only does what you tell it to do.

servername www
or
servername 10.1.1.2
or you could put the dynamic ip address that is issued by the isp.

servername www will reference what the name of your webserver is and the websever will listen to requests that are pointed to it by the dns server.

<virtualhost> is a directive that allows you to host multiple websites from the same webserver.

Begin
<VirtualHost *> <-- Not sure what the * is
ServerName www.domain.com <-- Listens for requests
DocumentRoot /chemin/des/html <-- folder where html docs are
</VirtualHost> <--similar to html tags
end
<VirtualHost *>
ServerName www1.domain.net
DocumentRoot /autre/chemin/des/html
</VirtualHost>

I hope that this helps. I dont speak french. I hope that I understood you right. Feel free to post back and I will reply.

NorthFace
Back to top
Profile PM 
16 replies since Jan. 02 2006,21:26 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 [2] 3 4 >/
reply to topic new topic new poll
Quick Reply: Networking Dns help :|

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code