04.06.2013 Views

Head First HTML with CSS

Head First HTML with CSS

Head First HTML with CSS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Q: Why is it called a “domain name”<br />

rather than a “Web site name”?<br />

A: Because they are different things.<br />

If you look at www.starbuzzcoffee.com,<br />

that’s a Web site name, but only the<br />

“starbuzzcoffee.com” part is the domain<br />

name. You could also create other Web<br />

sites that use the same domain name, like<br />

corporate.starbuzzcoffee.com or employees.<br />

starbuzzcoffee.com. So the domain name<br />

is something you can use for a lot of Web<br />

sites.<br />

Q: If I were going to get the domain<br />

name for Starbuzz, wouldn’t I want to<br />

get the name www.starbuzzcoffee.com?<br />

Everyone seems to use Web sites <strong>with</strong><br />

the www at the front.<br />

DO try this at home<br />

there are no<br />

Dumb Questions<br />

A: Again, don’t confuse a domain name<br />

<strong>with</strong> a Web site name: starbuzzcoffee.com is<br />

a domain name, while www.starbuzzcoffee.<br />

com is the name of a Web site. Buying<br />

a domain is like buying a piece of land,<br />

let’s say, 100mainstreet.com. On that land<br />

you can build as many Web sites as you<br />

like, for example: home.100mainstreet.<br />

com, toolshed.100mainstreet.com and<br />

outhouse.100mainstreet.com. So www.<br />

starbuzzcoffee.com is just one Web site in<br />

the starbuzzcoffee.com domain.<br />

Q: What’s so great about a domain<br />

name anyway? Do I really need one? My<br />

hosting company says I can just use their<br />

name, “www.dirtcheaphosting.com”?<br />

A: If that meets your needs there is<br />

nothing wrong <strong>with</strong> using their name. But<br />

(and it’s a big but) here’s the disadvantage:<br />

getting connected<br />

should you ever want to choose another<br />

hosting company, or should that hosting<br />

company go out of business, then everyone<br />

who knows your site will no longer be able<br />

to easily find it. If, on the other hand, you<br />

have a domain name, you can just take that<br />

<strong>with</strong> you to your new hosting company (and<br />

your users will never even know you’ve<br />

switched).<br />

Q: If domain names are unique, that<br />

means someone might already have<br />

mine. How can I find out?<br />

A: Good question. Most companies<br />

that provide registration services for domain<br />

names allow you to search to see if a name<br />

is taken (kind of like searching for vanity<br />

license plates). You’ll find a list of these<br />

companies at<br />

http://www.internic.net/regist.html<br />

It’s time to seek out a hosting company and grab a domain name for your site. Remember,<br />

you can visit <strong>Head</strong> <strong>First</strong> Labs for some suggestions and resources. Also, remember that<br />

you can complete the book <strong>with</strong>out doing this (even though you really should!).<br />

My Web Hosting Company:<br />

My Domain Name:<br />

A Web Detour<br />

Here’s an exercise you really need to go off and do on your own. We’d love to<br />

personally help but there’s only so much you can ask of book authors (and feeding<br />

the cat while you’re on vacation is probably out too).<br />

you are here 129

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!