|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
Hello fellas
i got one specific question-i am not very sure does it has to do somethin with DNS or not-but i will ask it So i am going to setup an irc server at home and i am wondering what do i need to do in order to be accessed by the name of irc.myexamplesite.com (instead of the IP address)- i thought of something it might sound stupid or whatever, so i thought of setting up an subodomain called IRC on my domain name myexamplesite.com and saying in my nameserver or DNS server(i forgot which one was it whoops) that irc.myexamplesite.com points to an IP address-so the IP address is where my DNS server is-so the dns server will redirect it or link( i dont know what term exactly to use) it to the IP that contains the IRC server-thats what i am thinking- Is it the same way as the http servers work or what? and aslo if it can access the irc server by just typing mydomain.com in the irc client and connect to it? I AM CONFUSED so i am kind in a dead end now- IF you got any suggestions -solutions whatever-please be kind and post them Thanks for your time ) Take care |
|
#2
|
||||
|
||||
|
You need to create an A record in DNS (call it irc.yourdomain.com or whatever you want) pointing to the IP address of the IRC server. Contact the administrators of the authorative nameservers for your domain to do this.
__________________
Alex (http://www.alex-greg.com) |
|
#3
|
|||
|
|||
|
Okey i added that additional record to my zone file of my DNS server(bind) -was that all i have to do? If it was what is next- i mean if i wanna set my apache server or irc whatever-to response on the subdomain what do i have to do-lets say the apache server-how can i tell to the subdomain that there is an http server behind that domain name?
![]() here is a copy of my zone file Code:
$TTL 3600 $ORIGIN paranoiccreations.com. @ IN SOA ns1 administrator ( 2003050203 ; Serial 3600 ; Refresh after 3 hours 3600 ; retry after 1 hour 604800 ; expire after 1 week 86400 ) ; Minimum TTL of one day A 24.85.168.215 NS ns1 NS ns2 MX 10 mail localhost A 127.0.0.1 ns1 A 24.85.168.215 ns2 A 24.85.168.215 www A 24.85.168.215 irc.paranoiccreations.com. A 24.85.168.215 mail A 24.85.168.215 ADDED LATELY So the domain name works for the irc server-no metter what subdomain or maindomain-i did wanted to make it just to be for the subdomain to access the irc server-but i assume that didnt happen cuz there is http server too on the same Ip. Also how can i make a subdomain to point to a specific folder in my computer-other than the maindomain folder from the apache server. Thanks again Last edited by Pugster : September 1st, 2003 at 11:17 PM. |
|
#4
|
|||||||||
|
|||||||||
|
Quote:
Yes - and signal BIND to reload its configuration as well. Quote:
Please don't write sentances like this. Use full-stops or question marks rather than hyphens to separate distinct ideas or questions. Quote:
As far as DNS configuration goes, yes. Quote:
A subdomain simply points to an IP address, and provides an easy-to-remember name. For an IRC server (which I don't know anything about) I assume this will suffice: just set your IRC client to connect to the DNS name instead of the IP address. HTTP servers are a slightly different case as they examine the DNS name that was used to reach them, and can use this information to do name-based virtual hosting. Quote:
You don't - as explained before, the subdomain simply points to an IP address. If there is an HTTP server listening on that IP address, it may use the subdomain as part of a virtual hosting mechanism. Quote:
Then the HTTP server will respond as well. There's nothing you can do about this, except for configure the HTTP server to give an error message or a message specific to that subdomain. Quote:
See the Apache Virtual Hosting documentation. |
|
#5
|
|||
|
|||
|
Hmm thanks a lot Alexgreg
My irc server works well-but the only problem is that-it can be accessed by both of the domains- the main domain and the subdomain, any ideas how can i restrict it in order to be access it only by teh subdomain? (deleting the other records and leaving just the subdomain record in the zone file would help?) Thats it thanks again-and sorry about my messy typing in the above msgs Bye bye (look at my white teeth) |
|
#6
|
||||
|
||||
|
Quote:
Either delete the main DNS record (but then you won't be able to access HTTP or any other service via that name), or use another IP address to run your IRC server on, and change the irc subdomain to that. |
|
#7
|
|||
|
|||
|
Roger that
) I already thought of that-but i was unsure So thanks for the support again take care |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > IRC server help!? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|