|
WebTen
& NetTen - A Beginner's Guide
Part 3 - The DNS
& adding site content
|
For this installment of the beginner's guide, I've included screenshots
so you know what you should be seeing.
Last time, I said
that we'd be discussing how to add your webpages to your new WebTen webserving
machine, forgetting one very important step before you do - the DNS. For
every website your machine hosts under a different domain name, there
must be a corresponding DNS entry. Fortunately for us, WebTen boasts the
advantage of the BIND Domain Name Server, with all the inherent advantages
that it's UNIX heritage offers.
|
First
off, we'll assume that you've read the first 2 parts of this guide
& have your WebTen application installed successfully. On first
load(fig.1), you'll see the WebTen preferences
box pop up in the middle of the screen. Of course, you've already
set your Open Transport TCP/IP control Panel up & checked that
it's working haven't you? This is where WebTen finds it's IP address
& domain name from, so it's important that it's configured correctly.
|
(Figure 1)
|
|
You can access
the WebTen Preferences(fig.2) by either holding
down the Option key while starting WebTen or by going to the File menu
once WebTen is running.
(Figure 2)
|
Once you see that
WebTen has your domain name entered correctly within the preferences &
the IP address you gave the machine is also listed, set the time zone
& also select the options you want WebTen to take care of, like FTP,
DNS (assuming you'll be running your own primary DNS), webmail & so
on.
The last thing you
need to do here before sending WebTen on it's way, is to give your machine
a name. You might like to give it a name like 'www' or as I did, 'server'
Enter your chosen name (not including the quote marks) into the Hostname
field & click the Save button. Now you'll see WebTen go through it's
paces, with a progress bar indicating what's happening, like enabling
DNS, FTP & so on.
|
When that progress
bar disappears, you'll see 3 separate windows appear(fig.3),
Access Log, Cache Status & system Status:
(Figure 3)
|
The Access Log window
shows you the most recent things which have been requested by people on
the Internet accessing the websites on your server. The Cache Status show
simple things like how many hits you've had, current connections &
data sent, as well as a graph which shows the status of your web server.
The System Status
window (strangely enough) shows you how your server is coping with the
current load, with what threads are running & how much RAM is being
used.
Now, you're ready
to test your server out. Load up the browser of your choice on the server
& enter the IP address of the machine - you should see the WebTen
homepage load up, giving you details of where manuals are & things
like that, as well as telling you how to add your own content to the server.
|
Secondly, enter
the domain name of your server (as in yourdomain.com) & hit
enter. Now you should again see the same thing pop up in your browser.
Hit reload & you can make sure that it's not loading from your
browser's cache -you're ready to edit your DNS data.
To edit that,
you need to get into the WebTen Admin Server, so you need to switch
back into WebTen via the Finder & select the Set Admin Password
option from the Admin menu(fig.4). do this, then
make sure the License number corresponds with your WebTen license
number as sent to you by Tenon. This option is also under the same
menu. |
(Figure 4)
|
|
Now you've done that,
go back to your browser & enter your domain name, then a / followed
by webten_admin like so: http://yourdomain.com/webten_admin
An authentication
box with your username & password will pop up, so enter those &
click OK then if the admin server isn't running, you'll see the same box
again - fill it out again & you'll then be presented with the WebTen
Admin Homepage(fig.5). This is the basic nuts &
bolts part where you do all your server configuration, but for now, we're
concentrating only on the DNS part.
|
(Figure 5)
|
Now, you need to
click the DNS button. A new page with your Primary Zone(fig.6)
already filled out will be shown. Click on your domain name & a new
window showing what's been added to your DNS Zone File(fig.
7) will appear. Now, add any entries you need to add by clicking on
the New Host or New Alias & filling out the resulting box - don't
panic, you can change or delete these later.
|
(Figure 6)
(Figure 7)
|
You'll be pleased
to note that WebTen has kindly also added an MX Record (Mail Exchanger
or Mail Server) entry under your domain name, saving you the trouble &
also adding an alias for www, so you can use your server by either it's
short domain name or by adding the www onto the beginning. Make sure to
click the Save buttons after adding your entries or they won't be available.
The bit you're no
doubt champing at the bit for now is to get your website actually sitting
on the server for people to come visiting. So, click on the Home Page
button to return to the WebTen Admin Homepage & then on the Virtual
Hosts button.
|
You'll be presented
with a list of any Virtual Hosts(fig. 8) here
or you can also add one from here. If you want to see the configuration(fig.9)
of any of these, click on the name of the host you want to see &
you'll see a page listing things like the Directory Path, the index
pages etc... WebTen is clever enough to prevent you from adding
a bad virtual host(fig.10), by comparing any
entry you're trying to add with the DNS Primary Zone. If you do,
you'll get an error page telling you about it. As with DNS, don't
forget to click the Save button whenever you make a change you want
to keep.
|
(Figure 8)
|
|
(Figure 9)
|
(Figure 10)
|
When you've
viewed the directory path of the site you want to server content
from, you can copy this data into the folder by one of 2 ways. The
easy way for server administrators with physical access to the server
is to copy them across into the appropriate folder within WebTen's
Websites folder(fig.11).
Alternatively,
you can now set up your FTP access to do it. Go back to the WebTen
Admin Homepage by clicking Homepage & the click the FTP button.
From here(fig. 12) you can add new users(fig.
13) & also limit them to the website folder they will need
to access with a Pull-Down menu. For extra security, unless you'll
be having files for people to download, it's probably a good idea
to deselect the Anonymous option in the FTP page. Once again, click
the Save buttons once you've made a change.
|
(Figure 11)
|
|
(Figure 12)
|
(Figure 13)
|
To test your FTP,
open a new browser window & enter: ftp://username@yourdomain.com After
you hit enter, a password box should pop up, enter the password &
hit enter again & you should be in the directory you specified in
the FTP options page of the WebTen Admin Homepage. Now, you can simply
connect using your regular FTP client application from either the server
itself or a remote computer & upload your site into that directory.
All being well,
you've made it right into the sometimes frighteningly complex world of
web serving, made easier by Tenon having spent the time in providing a
much less difficult way of controlling the Apache webserver.
To test it out,
enter your server's domain name into a web browser on either the server
or a remote computer & bang! Thar she blows - your website's homepage
should load right up. Congratulations.
Finally, don't forget
to shut down the WebTen Admin Server by clicking the Stop Admin Server
Button(fig.5), which will then give you a confirmation
page(fig.14).
|
(Figure 14)
|
Next time, I'll be
covering the surprisingly easy search engine included in WebTen - htdig. |
Terry Allen is a WebTen user & runs hEARd - a non-profit
organisation promoting new music. The hEARd site can be accessed at
http://heard.com.au - currently
running on WebTen 3.0.3 alongside the NetTen mail serving
application. Alternatively, hEARd can be accessed at http://www.ozemail.com.au/~hmag/ |
| Tenon Home |
Products |
Order |
Contact Us |
About Tenon |
Register |
Tech Support |
Resources |
Press Room |
Mailing Lists |
|
Copyright©2013 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara,
CA 93101. All rights reserved.
Questions about our website - Contact:
webmaster@tenon.com.
|
|