Getting Your Own Domain Name

Generally a Web page’s address or URL is made up of the name of the server along with the path to the file on that server. When you use a Web host, they rent you a piece of their server and your Web pages take the name of that Web host, by default. For example, in my case, my Web host’s server name is www.crocker.com and thus the URL for my pages might look something like www.crocker.com/~lizcastro/.

However, if you don’t want your Web host’s server name to appear in your Web page’s URL, you can register your own domain name (for around $10 a year) and then ask your Web host to create a virtual domain on their server with your domain name. In my case, while my pages are still on Crocker’s server, they look like

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.