What is a domain name?


(Redirected from Domain)

Domain names (frequently just called domains) are names that identify a particular computer on the internet. Examples are www.bravenet.com and www.google.com. They act as an alias for numeric IP addresses, but they are not permanently tied to a particular IP address. This means that you can change your domain name to point at a new IP address if you move your website from one computer to another.

By default, your website can be accessed at the sub-domain yoursitename.bravehost.com. You can have have the domain yoursite.com point to your site by registering a domain, in this case yoursite.com

Getting a Domain

See the article registering a domain for information on signing up for a domain name. If you already have a domain elsewhere, you can see our information on transferring a domain or adding an external domain.

How Domains Work

Main article: How the domain name system works

Any time you refer to a domain name in any internet software, that software will look up the IP address that's associated with that domain name. It will use the resulting IP address to actually make the connection on the internet - the domain name is just used as a shorthand so that we don't all have to remember long numbers.

Domain names are registered in a heirarchy - different organizations are responsible for each part of a domain name. For this example we will look at wikifree.bravehost.com. When you type that into a browser, the browser will try to find out who is responsible for the .com part of the name (.com is what is known as a top level domain). Once it finds that out, it'll ask who is responsible for the bravehost domain. It will then find out that we've registered bravehost.com, so we're in the .com registry. The browser then asks our servers how to get wikifree on our domain. Our servers will have the actual IP for example.bravehost.com and will provide that to your web browser, and your browser will now be able to talk directly to the right web server.

This is a bit of a simplification, but it gets the general process across.

Why use domain names?

Domain names effectively translate the numeric IP addresses that relate to everything on the internet to alphabetical addresses. This makes websites easier to remember.

Also, since one domain name can point to multiple IP addresses, and multiple domain names can point to one address, and that relationship can easily be changed, domain names allow flexible addresses on the internet. For example, if you wish to move your website www.example.com to another physical server, even though the IP will change, you could change where the domain points and still refer to the same website with the same domain name.

Similarly, if the role of the server changes, you can adapt your domain names to suit the changes. For example, you start with a small website - www.example.com, and then add a forum at forum.example.com, and email services at email.example.com. Initially, all these addresses point to one server, but if you outgrow that server, it is easy to have email.example.com point to a different server.

Valid Domain Names

Main article: Valid domain names

In general, domain names need to meet certain strict naming restrictions. Domain names are seperated into labels seperated by . characters (wikifree.bravehost.com is composed of three labels - wikifree, bravehost and com. Each label must:

  • Be composed of only the letters a to z, the numbers 0 to 9, and dashes (-)
  • Not start with a dash (-) character
  • Not contain any special characters, or accented letters
  • Be under 64 characters long (the entire domain name - including '.' characters - must be under 67 characters)
  • Some top level domains have additional restrictions on their subdomains

Note that domain names are case insensitive.

There's limited support for non-standard domain names. Some registrars do offer names allowing Cyrillic and Chinese characters, but support is very spotty at this time. Using a non-standard domain name may result in people being unable to visit your site.

Resources