Dns
maybe is a newbie question but i donīt know
how can i set up a DNS for my ip adress?? |
You will need to find (then pay) a registrar to register your chosen domain then get them to alter the DNS record to point to your ip.
Alternatively - if you want a free subdomain try one of these: http://www.myserver.org/ http://www.dns2go.com/ http://www.no-ip.com/ There are plenty more but these offer good free services. |
well... thanks
but i need a DNS for a private IP i donīt want to pay!! i need to enter to my localhost using some adress |
I thik you better look into using hosts files or setting up a DNS server. If you only have a few PCs it would be much simpler to use hosts files and just amend them on each PC.
|
PS - one of the free services would work but you would need to be connected to the net in order to resolve the ip.
|
the ip adress of my eth0 is 192.168.0.1
and i need to access to it through a domain like www.mono.com can i do that??? |
Do you just want it to be accessible through your private network, or do you want the entire world to see the www.mono.com ???
If the first case: setup a DNS server or edit /etc/hosts will do the trick, if the second is the case: you will need to have two (three) things: A public IP address, and a domainname registrar. (and maybe a firewall with NATTING, (translates your external (public) Ip adress to your internal one: 192.168.0.1) Hope this makes it clear.... |
"Officially" you would need to register www.mono.com and have a registrar point www.mono.com to your ip address but if you place:
in the hosts file of every computer that would need access to www.mono.com then you don't need to pay a penny. If you have a large network (100+ PCs) you would probably be better off installing a DNS server to save on maintainance. |
it is a private network
i will take a look to the /etc/hosts |
hey i cannot find any /etc/hosts directory
maybe this /etc/httpd/conf/vhosts |
Nope - but there is a "file" called /etc/hosts
You will need to be root to edit it. If it aint there (highly unlikely) just create it. |
Quote:
but how do i create it?? |
sorry... my mistake
i donīt wanna quote my own message i need to create the file /etc/hosts but how??? |
well..
i already made the DNS service for my private network but now i need to view my machine from another computer and when i try to access to it, it doesnīt try to find it throught the private network, it just look for it in internet |
All times are GMT -5. The time now is 11:05 PM. |