How to use a sub-domain in iWeb

 

Introduction

Sign up for a webhost with your own domainname.

Determine the URLs to your future website(s).

Determine where you must publish your webpages.

Determine how to create subdomains.


Sign up for a webhost with your own domainname

Find a webhosting company where you want to publish your website and where you can register your domainname.

There are thousands of webhosters around the world. Start searching in your own town or check with your own Internet Service Provider (ISP).

For best results, use a UNIX account. Not a Windows account.

Once registered, get familiar with the jargon they use. Read the manual, the FAQ, the HELP, or whatever they offer for reading and support.

Make sure you understand it. You need it later.

Practice and see what the results of you actions are.

In this tutorial I’ll refer to yourdomain.com.


Determine the URLs to your future website(s)

Usually the default URLs of a website are:

http://yourdomain.com/ and http://www.yourdomain.com/

When you publish a webpage the URL to that page will be :

http://www.yourdomain.com/webpage.html

or

http://www.yourdomain.com/somefolder/webpage.html


Determine where you must publish your webpages

Your webhoster will tell you where to publish your webpages and how to connect to the FTP server.

See the images. We use the public_html folder in this tutorial.

Everything you want to publish, webpages, movies, documents for downloading, all are stored in the public_html folder. Or in a folder your created within the public_html folder.

To publish to the public_html folder you either use iWeb (the purpose of this tutorial) or a FTP application like Cyberduck. The image shows the content of the public_html folder on this server.

Practice it.

Determine how to add sub-domains

Your webhoster will tell you how to add sub-domains.

When you add one, a folder with that name is created in the public_html folder. Use lowercase characters.

When you already have a folder with that name, it will be used for the sub-domain.