LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What is the difference between domain name and hostname? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-the-difference-between-domain-name-and-hostname-173593/)

davidas 04-23-2004 01:48 AM

What is the difference between domain name and hostname?
 
Eg. A dynamic DNS service provider maps my IP address to david.redirectme.org, so when I key in http://david.redirectme.org, I get to view my homepage.

Qn: Which part of david.redirectme.org is the hostname and which part is the domain name?

Thanks !

garath 04-23-2004 02:37 AM

david is the hostname.
and redirectme.org is the domain name.

trickykid 04-23-2004 09:59 AM

And to get a little more detailed:

hostname is the specific and unique name of the machine.
domainname is the domain in which is belongs to, where many other machines can also belong in, etc.

statmobile 04-23-2004 10:33 AM

Ha, I just tried to check out your webpage, and it's gone. I am thinking about setting up my machine at home via my cable modem, but I'm curious about how you setup this dhcp redirection thing. Did you change it, or are you still having problems with it?

davidas 04-23-2004 11:50 AM

You can check out www.no-ip.com, www.dyndns.org for such services :)

Quote:

Originally posted by statmobile
Ha, I just tried to check out your webpage, and it's gone. I am thinking about setting up my machine at home via my cable modem, but I'm curious about how you setup this dhcp redirection thing. Did you change it, or are you still having problems with it?

davidas 04-23-2004 11:52 AM

If I'm to setup a MTA on david.redirectme.org (email server), would my email address be userid@david.redirectme.org or userid@redirectme.org ?

Thanks !

Quote:

Originally posted by trickykid
And to get a little more detailed:

hostname is the specific and unique name of the machine.
domainname is the domain in which is belongs to, where many other machines can also belong in, etc.


garath 04-23-2004 12:05 PM

It should be userid@david.redirectme.org.
I'm not sure if that is always the case though.
And I'm not sure if you need to do something else in order for your mail to arrive at the mailserver david, such as creating an MX record in somekind of DNS or anything like that.

trickykid 04-23-2004 12:05 PM

Quote:

Originally posted by davidas
You can check out www.no-ip.com, www.dyndns.org for such services :)
I prefer www.zoneedit.com as they allow you to have your own registered domain name to use, so you don't have dyndns.org or no-ip.com mixed in with your IP, etc. Its like having your own DNS server that's really easy to setup and understand.

garath 04-23-2004 12:07 PM

Hmm. That's an awesome service!
Thanx for the tip trickykid! I can surely make good use of that once I have my server all configured.

comp12345 04-23-2004 01:38 PM

Quote:

Originally posted by trickykid
I prefer www.zoneedit.com as they allow you to have your own registered domain name to use, so you don't have dyndns.org or no-ip.com mixed in with your IP, etc. Its like having your own DNS server that's really easy to setup and understand.
With this service, you need to already own the domain name. With dyndns and other sites like it, you don't need one, but you have to use their dyndns.org suffix.


All times are GMT -5. The time now is 06:21 AM.