LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Hosting a domain name on an ethernet (https://www.linuxquestions.org/questions/linux-networking-3/hosting-a-domain-name-on-an-ethernet-307457/)

videoediting 03-29-2005 01:31 PM

Hosting a domain name on an ethernet
 
I currently have a home network set up (with access to the internet) I am running Suse Linux 9.2 on all systems. My server is running Suse Linux 9.2 with Apache2. If I go to another system in my home network, open firefox, and type "192.168.0.8/~video", it will display exactly the way it should. My question is: can I "alias"

h t t p : / / w w w . m y c o m p u t e r . t u x

to take me to 192.168.0.8/~video I want my computer to host that domain name ONLY on my side of the network. I do not want to register this domain name on the internet. This is for my home network. How can I do this?

auximini 03-29-2005 04:21 PM

You can either do this by adding a static entry in your hosts file on each system or by setting up an internal DNS server. The first one takes almost no effort but has a decentralized type of system. The second is more involved but fun to learn :)

When you set up an internal DNS server, you can host any domain name you want and only your internal network will know about it.

Popular DNS servers are BIND and DJBDNS.


All times are GMT -5. The time now is 10:12 PM.