Archive for July, 2009
DirectAdmin – Uploading To Your Site
by admin on Jul.23, 2009, under Tutorial
This section covers uploading via FTP, Microsoft FrontPage, DirectAdmin’s file manager, and SSH. You may upload using one or several of these methods.
Directory Structure
At the root of your account exists these directories:
/backups
/domains
/public_html
/backups
The /backups directory contains all the backups created through the control panel. You will not have a /backups directory until you create a backup in the control panel.
/domains
The /domains directory contains the files relating to your hosting account(s). Each domain hosted on your account has its own directory (/domains/yourdomain.com). Within this directory is:
/logs (monthly logs are stored here — the directory is created one month after your account is created)
/private_html (all files accessed through SSL — https://)
/public_html (files for your general website)
/public_ftp (files for your FTP site)
/stats (files created by Webalizer for the purpose of statistics — do not alter/delete this directory)
The mail directory includes files created by the server’s mail system. Do not modify, delete, or add anything to this directory.
/public_html
The /public_html directory at the root of your account is actually a link to /domains/yourdomain.com/public_html. If you have more than one domain hosted on your account, this link will forward you to the public_html directory of the last domain created on your account.
Home (index.html) File
The default file for any web directory is index.html. That means when visitors access http://www.yourdomain.com, the server really sends them to http://www.yourdomain.com/index.html. This works for any publicly accessible directory on your system, including subdomains.
When uploading a main web site for each directory remember to name it index.html. Advanced users may utilize PHP files, shtml files, etc. If your web site is not based in html, then make sure your main files are renamed index.extension (index.php, index.shtml, for example).
Uploading With FTP
Step 1: Obtain FTP client software.
Uploading to the server through FTP requires special software. Most computer systems do not come with FTP clients, so you will have to download one from the Internet. We suggest:
IBM/Windows: LeechFTP (free), WS_FTP LE (free), FTP Explorer (free), CuteFTP (free trial).
Macintosh: Fetch (free), Transmit (free trial).
Step 2: Connect to the server.
All FTP clients need the following information:
Username – This is your control panel username.
Password – This is your control panel password.
Address – This is the address of the server. Use ftp.yourdomain.com
Port – Use the default port (21).
Some clients may ask for the host type (select "auto"), ASCII/Binary/Auto (select "auto), and the initial remote folder (you may leave this blank or change it to /domains/yourdomain.com/public_html to start off in the main web directory).
Step 3: Open the public_html directory and upload your files.
If you have more than one domain hosted on your account you should first enter the /domains directory, then the domain you want to edit, then the public_html directory.
To upload, highlight the files/folders on your computer and drag them into the appropriate directory on the remote server. Each FTP client operates differently, so please consult its help file for complete instructions.
Uploading With MS FrontPage
FrontPage 98
1. Make sure you are connected to the Internet. Open your FrontPage Web.
2. From the File menu, select "Publish FrontPage Web."

Note: FrontPage can be configured to publish only changed pages. Please enable this option.
3. Select the proper host from the list. If this is your first time publishing to your site, click "More Webs…"

4. Enter your domain name as pictured above and click "OK." Make sure to use WWW in your domain name.
5. Leave the "FTP Server Name" box blank. Leave "Directory To Publish" blank unless you wish to publish elsewhere.
6. Click "Next." You will be prompted for your username and password. Click "OK." Your Web will then be uploaded.
FrontPage 2000
1. Make sure you are connected to the Internet. Open your FrontPage Web.
2. From the File menu, select "Publish Web…"
3. Enter your web site address in the box, as pictured below. Click "Publish."
Make sure to use WWW in your domain name.

Note: FrontPage can be configured to publish only changed pages. Please enable this option ("Options" button).
4. Enter your username and password. Click "OK."
5. FrontPage may ask if you wish to overwrite the files on the server. Click "Yes."
6. After the files are uploaded you will see the following window. Click the link to view your updated web site.

FrontPage 2002
FrontPage 2002 publishing is very similar to FrontPage 2000 publishing:
1. Make sure you are connected to the Internet. Open your FrontPage Web.
2. From the File menu, select "Publish Web…" Make sure FrontPage only uploads changed pages.
3. Enter your website to publish to (http://www.yourdomain.com).
Make sure to use WWW in your domain name.
4. Enter your username and password.
Uploading With DirectAdmin’s File Manager 
1. Sign into the control panel and click the "File Manager" icon.
2. Navigate to the directory where you want to upload files.
3. Click the "Upload files to current directory" button at the bottom of the screen.
![]()
4. You will see eight (8) fields. Click the "Browse" button to select the files you wish to upload.
Click on "Upload Even More Files" if you wish to upload more than eight files at one time.

5. Click "Upload Files."
Uploading Through SSH
With SSH you can sign into the server and download files directly from other servers.
Note: Some hosts may disable the SSH feature for security purposes.
Note: SSH should not be used by those unfamiliar with a Unix environment.
1. Connect to the server with an SSH client and enter your username and password.
If you don’t have an SSH client we suggest the freeware client Putty.
2. Change to the directory where you want the files to be downloaded to.
3. To download from a web server type: wget http://www.server.com/filename.ext
To download from a FTP server type: wget ftp://username:password@ftp.server.com/filename.ext
To learn how to do more with the wget feature, follow this link.
Incoming search terms:
directadmin public_html tuto,directadmin tutorial upload site,directadmin uploading tutorial,how to upload content to a site in directadmin,upload website menggunakan directadminDirectAdmin – Getting Started
by admin on Jul.22, 2009, under Tutorial
This document provides information about domain names, editing HTML, and accessing the control panel. It serves as a basic introduction to web hosting and is intended for beginners. Experienced users may skip this document, except for the section entitled Accessing the Control Panel for the First Time.
Registering a Domain
Domains are a unique way to identify yourself on the Internet. There are two parts to a domain: the name and the extension. The name is the description of yourself or your site (for example, the name "dogfood" in dogfood.com). The extension represents the domain category. For example, the .com extension means "commercial," .net means "network," and so on. There are many extensions available today: .biz (business), .info (resource sites), .us (American sites), .ca (Canadian sites), to name a few. The "www" is automatically inserted by the web server that hosts your site and is not part of the domain name.
You cannot use a domain name until you register it. In addition, you cannot register a domain name that is owned by someone else. The registration process is fairly simple:
1. Decide on a domain name and extension.
2. Select a registrar and register your domain name.
3. Find a host for your domain name.
Deciding on a domain name and extension is difficult because most names are already taken, especially with the .com extension. We highly recommend nameboy.com, a free service that finds not-yet-taken domain names based on one or two words describing your site.
There are many registrars on the Internet. A simple search engine query for "domain name registration" will return hundreds, if not thousands of results. Be sure to choose a registrar that supports the extension you want (for example, not all registrars will sell the .cc extension). Comparison shopping is wise because registration fees can vary greatly between registrars. Domain names are leased, and the registration fee usually represents the cost for one year of ownership.
Once you have purchased a domain name you will need somewhere to host it. The domain name is just an address; that is, it points to files on a web server. Hosting companies provide web servers and this is where your web site is stored. A search engine query for "web hosting" will return thousands of results. To help you select a web host, we suggest reading the article entitled Choosing the Right Web Host for Your Site.
Your web hosting company is the best resource if you are still confused about domain names. Many hosts will assist you in the domain registration process and ensure that everything is configured properly.
Transferring a Domain
Transferring a domain can mean two things: switching the domain name to another registrar, or altering the domain record to make the domain point to a new host. We are concerned with the second definition. A domain has to be told which web host to direct visitors to, and this is done by changing the domain’s name server records.
For example, say you purchased a hosting account at indovps.com. They tell you to put their name servers in your domain record. These name servers might look like:
nsXX.anyoneserver.com (192.168.0.1)
nsXX.anyoneserver.com (192.168.0.2)
You will then visit your domain registrar’s home page, sign in, and edit your domain record. Each registrar is different, but there will be fields in your domain record called "name severs," "primary/secondary name servers," etc. The registrar may or may not ask for the IP address of the name servers (192.168.0.1 and 192.168.0.2 in this example). It takes 12-48 hours for the change to take effect.
Editing HTML
HTML, or hypertext markup language, is the language that tells web browsers how to display a page. For example, to <b>bold</b> text in HTML, you would start with the <b> tag and end with </b>. Anything between these tags will appear bold (visitors will not see the <b></b>). When someone visits www.yourdomain.com, they are actually accessing the index.html file in your main web site directory.
Editing HTML requires software specifically designed for the task. Examples include Microsoft FrontPage, HotDog Professional, and Macromedia Dreamweaver. There is also shareware and freeware HTML editors available from popular download sites such as download.com.
Even the best HTML editing software can be confusing for beginners. If you fall into this category, we suggest using an online site builder / HTML generator. No knowledge of HTML is required — online site builders ask you questions and then form a web site based on that information. Some site builders allow you to control the look of the site, insert graphics, scripts, etc. Most site builders are free but the more advanced ones charge an access fee. Some free site builders include:
http://www.uweb.ucsb.edu/generator/basic.php
http://www.3zweb.com/free/index2.htm
http://www.searchbliss.com/free_web_tools_html.htm
http://www.applelinks.com/tools/webpage.shtml
Accessing the Control Panel for the First Time
There are several ways to access the control panel:
http://www.yourdomain.com:2222 You can access the control panel through any domain or subdomain by putting :2222 after the address.
http://www.yourdomain.com/config You can access the control panel by adding /config to your domain or subdomain address.
http://192.168.0.1:2222 or http://192.168.0.1/config You can access the control panel through any IP address allocated to the server. This is useful when your domain transfer has not yet propagated.

A window (similar to the one pictured on the right) will appear. Enter your username and password. Once signed into the control panel you should do two things.
First, click on the "Message System" link at the top-right of the page. Important messages about your account may come through the message system, so we recommend that you enter your e-mail address at the bottom of the screen and check the checkbox. If you do this, the control panel will e-mail you when a message comes in.
![]()
Second, return to the main menu and click on the "Statistics / Logs" icon. About halfway down the screen there will be a box to enter your e-mail address. Confirm that the e-mail address in the box is accurate. If not, change it and click on the "Save" button. It is important to have a valid e-mail address in this box because the control panel will e-mail you whenever your account is close to going over its bandwidth limit.
![]()
The Ticket Support System
![]()
The control panel features a built in message system. Clicking the "Message System" link at the top of the screen will bring you to the message system menu. "N messages waiting" will always be displayed next to the link. Messages may contain important information, so read them as soon as possible.
The message system has two components: a ticket support system and a private message system. If you needed assistance, you would click the "Create a Ticket" link. Your hosting company’s support staff would respond to this ticket and you would click on the ticket name to read it. Private messages are shown in the same table. Private messages are different because they are not responses to a support ticket. Private messages can include scheduled downtime alerts, system-wide announcements, and warnings that your account is reaching its limits. To read a private message, click on its title.

Creating a Ticket
1. Click the "Create a Ticket" link.
2. Select message priority:
Low: Problem is not causing immediate difficulty.
Medium: Problem is causing immediate difficulty.
High: Problem needs to be addressed right away.
3. Enter a subject that describes the problem in a
few words.
4. Explain the problem in full detail.
5. Click "Save."
The support staff may respond to your ticket and close it. A ticket will be closed when the problem is resolved; that is, there is no need for the ticket any more. If you have new messages waiting and don’t see them in in the ticket listing, click on the "View Closed Tickets" link. If you feel that your problem has not been resolved then you may reply to the closed ticket.
Important note: Your hosting company may disable your ability to send tickets. This typically occurs when they have a different support system in place. If you can’t create a ticket, visit your host’s web site for support information.
Changing Your Password
To change your password, click on the
button located at the top-right corner of the screen. You will be asked to enter your current password and then your new password twice. Click the "Submit" button to confirm and save. The control panel will reject your password if it is too short or contains inappropriate characters.
Important note: This feature only changes the password for your username. Other e-mail accounts, databases, FTP accounts, etc. will not be affected by the password change.
Signing Out
To sign out of the control panel, click on the
button. You will be taken to a screen confirming that you have signed out successfully. Click the the link to sign back in.
Important note: Many browsers keep your control panel session in memory even after you sign out. If you are not the only one that uses your computer, then be sure to close all running copies of your browser before leaving your workstation. This will clear the browser’s memory and make it impossible to sign into the control panel without the correct password.
