WebDevelopersJournal.comTips on Web Page Design, HTML and Graphics
SITE SEARCH
Newsletters
Java/Open Source Daily



Jobs at webdeveloper.com

Resources By Subject
Technical
Graphical
Authoring
Business
WDJ resources
Archive

internet.com

internet.commerce
  • Partner With Us
















Developer Channel


Find a web host with:
CGI Access DB Support Telnet Access
NT Servers UNIX Servers



Semi-automatic?

JavaScript
JavaScript Helper:
Meet Paige Turner, the least geeky geek we've ever come across.

Variables and Operators Explained:
First of a three part guide to JavaScript basics.

Controlling Forms:
Enhance your HTML forms with a touch of JS.

DHTML:
Forget how it works, let's see some in action!


The ABCs of Building a Web Site: The Domain Name Game

by Charlie Morris

Welcome, clueless newbies! This column takes you through the process of creating a complete business Web site - one agonizing step at a time. In the first installment, we learned what a Web site is. It's a bunch of files that live on a computer called a Web server, which is basically just a computer with a permanent connection to the Internet. But how do visitors find your Web server?
Charlie Morris

The ABCs of Building Web Sites - This beginner's tutorial will take the clueless newby through the entire process of building a Web site.

Finding a particular Web site is like finding someone's telephone number. Every Web server in the Universe has a unique number that identifies it, called an IP address. An IP address looks something like this: 192.41.2.10. Occasionally you'll see one in a Web address (a Web address is called a URL, and always begins with http://). For obvious reasons, nobody wants to have to remember numbers like this, so early in the development of the Web, the system of domain names was devised.

Basically, a domain name is an easy-to-remember name, made up of letters and/or numbers, that points to a particular IP address. The gadget that translates domain names into IP addresses is called a Domain Name Server, or DNS, which you don't need to know the details of. Your hosting service has one, and presumably it works most of the time, so you don't need to think about it, or really even know what it is. All you need to know is that every domain name points to a particular Web site.

As you may recall from the first column, a Web site is simply a set of files on a computer, which has a directory structure, just as the files on your machine do. So it would logically follow that every domain name points to a particular Web server, except for the fact that nothing to do with the Web is ever that simple. A Web address can be redirected in any of several different ways, so basically a domain can point to whatever page the owner of the domain wants it to point to. You can move your files to a different Web server, and keep the same domain name. In fact, many large sites have duplicate files on several Web servers (sometimes called a "mirror site") for reliability purposes.

A typical domain name comes in two parts, separated by a dot. The part to the right of the dot is called the top-level domain, and you must choose a top-level domain according to what country you're in, and what kind of organization you have. Most other countries have a countrywide domain, for example:

.de is Germany (Deutschland)
.fr is France
.ru is Russia
.ch is Switzerland (Confederatio Helvetica for you trivia fans)

The United States has several top-level domains (some non-US sites use some of these domains too):

.com is for commercial sites. If you don't fall into any of the other categories, you must use .com.
.net is for hosting services and other entities having to do with the Internet.
.org is for non-profit organizations.
.edu is for colleges and universities
.gov is for government agencies
.mil is for the military.

Within each top-level domain, there is obviously a finite number of possible domain names. The organization that administers domain names in the US is a company called Network Solutions. To use a certain domain name, you must register with them, and pay $35 a year. Domain names are awarded on a first-come, first-served basis. Since the Web gold rush has been going on for a few years now, all the neato names have long ago been spoken for. In fact, almost all the possible combinations of 2, 3 or 4 letters have been spoken for - you can sometimes tell how long as site has been on the Web by how long their domain name is (The Web Developer's Journal is an exception - We've been on the Web since 1994, but weren't sharp enough to grab a nice short domain back in the early days).

Do you need to have your own domain name to have a Web site? Of course not. Your home page can be located in a subdirectory under your hosting service's domain, for example:
http://www.verio.com/WebDevelopersJournal/
If you have a business Web site, however, having your own domain is highly recommended for the credibility it gives. A company without its own domain is perceived as a small-time outfit, or at least one that is not Web-savvy. Having your own domain costs little, so make choosing and registering a good domain name one of your first projects.

Even if you have only a rudimentary Web site or none at all, it may be worth registering a domain, so that you can use it in your email address. Yourname@yourcompany.com makes you look like a legitimate concern, like having your own letterhead. Whatever you do, don't use one of the "free" email services or an online service like AOL as your business email address. A business that uses an email address ending in hotmail.com or aol.com will be dismissed as at best clueless about the Web, and at worst a fly-by-night outfit.

Does this mean you have to ditch your existing email account, and set up a new one with your Web hosting service? Not at all. An email address that uses your own domain name can be set up to forward mail to any address you please. This is called an email alias, and is a valuable tool. Your hosting service can set up as many email aliases as you like, and point each at the address of your choice (don't let them charge you a lot of money for doing this - it involves about 10 seconds of work to set up an email alias). This can be useful for several reasons. If you change email providers, you can keep the same email address - just change the alias. An email address can also be associated with a role instead of an individual - for example, webmaster@yourcompany.com can be set up to forward mail to your address. If you later hire someone else as Webmaster, you can change the alias to go to their address. An alias can even send mail to several people at once - for example, staff@yourcompany.com could be set to forward mail to everyone in the company (be careful with this kind of thing).

How do you register a domain name? Go to http://www.networksolutions.com and follow the simple instructions. You'll need to know the ISP addresses of your site's domain servers, which your hosting service can give you. You must have an account with a hosting service before you can register a domain name. You must pay the $35 annual fee for 2 years in advance when registering a domain. Thereafter you'll be billed yearly. Your hosting service will probably charge you a small fee (make sure it's small) for adding your domain name to their DNS server. They may also offer to handle the whole process of registering a name for you for a fee, but it's really simple to do it yourself directly through Network Solutions.

Many small companies let a hosting service register themselves, the hosting service, as the owners of the company's domain name. I strongly advise against this practice. If you do it this way, the domain name will legally belong to the hosting service, not to you. If you're absolutely positive that you will be remaining with the same hosting service for the rest of eternity, then this will probably never be a problem. If you ever want to transfer the domain name to yourself, however, you'll have to do a Registrant Name Change Agreement, which involves signing, notarizing, mailing and faxing a bunch of forms. If your hosting service never gets around to doing it, or decides they want to charge you a fat fee for doing it, there'll be nothing you can do.

The ABCs of Building Web Sites - This beginner's tutorial will take the clueless newby through the entire process of building a Web site.

Suits PonytailsPropheadsContact WDJDiscussWeb AudioSearch


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers