Hwindows Guide
Hwindows Guide
Distribution of this work or derivative of this work is prohibited unless prior written permission is obtained from the copyright holder.
All other trademarks and copyrights are the property of their respective owners.
Table of Contents
1 Table of Contents i
2 Introduction iv
Security Information iv
Creating a Strong Password v
Getting Help v
Other Resources vi
Now that you’ve purchased your Windows shared hosting account, you’re probably dying
to take it out for a spin. But before you do, it’s a good idea to find out what’s going on
under the hood. This guide will assist you in getting your Web site up and running
quickly. Along the way, we’ll even pass on some general hosting information that you can
use to impress your friends.
Your shared hosting account resides on a server along with other accounts. The server’s
resources are shared across these accounts, hence the term shared hosting. This is in
contrast to dedicated hosting, which allows a single account to exclusively use one server.
A major benefit to having a shared hosting account is that server security, backup, and
maintenance is taken care of for you.
SECURITY INFORMATION
The most important security measure you can take is keeping your hosting account pass-
word secure. Anyone with access to your password can potentially manipulate the con-
tent on your site and compromise your account. If your password has been
compromised, you can change it through the Hosting Manager.
GETTING HELP
After your account is set up, you can always find shared hosting help on the Web with our
Hosting Resource Center, located within our Help Center.
The Help Center, which is a knowledge base with the most cur-
rent shared hosting technical information, opens in a new win-
dow.
Customer Support is also available to answer questions. You may contact Customer Sup-
port directly.
Introduction vi
OTHER RESOURCES
You can use these resources to learn more about programming your shared hosting
account:
Resource URL
W3Schools [Link]
DevGuru [Link]
Some prep work is required to ready your account for the uploading of site content. First,
you must set up your shared hosting account and specify its domain name servers (DNS).
Setting up your account installs the default hosting files and directory structure needed to
upload content. Accurate domain name server information must be assigned to your
account so visitors are directed to your site content.
To jump-start this whole process, you need to set up your hosting account.
4. The End User License Agreement displays. Read the agreement and click Accept.
5. On the Account Setup page in the Hosting Manager, type in the domain name and
select the [Link] runtime version you want to use for this hosting account.
Fig. 2.2 - Type in the domain name you want to use with your hosting account.
7. Click Continue.
A Congratulations message displays, letting you know that your hosting account should be
ready to use in a few minutes.
Setting Up Your New Hosting Account 4
After you set up your account, we will send you an e-mail message that includes all of
your basic account-management information.
Status Explanation
Initialize Account You need to set up your hosting account in order to use it. To
set up your hosting account, click on the name of the account
you want to set up.
Pending DNS Your hosting account needs to match up with your domain
name before you can upload files and manage your Web site.
Pending Account This account status displays whenever you have upgraded or
Change downgraded your hosting account.
Pending Setup This account status displays after you have set up your
account. It may take a few minutes for us to configure your
hosting account before you can use it.
Setup Your account is set up. You may still have to wait up to 48
hours before you can upload files to your account (FTP), set
up databases, or configure your Web site.
Once your hosting account is set up, you can log in to the Hosting Manager to manage
your account, set up databases, and install various Web site features.
Setting Up Your New Hosting Account 5
This makes it possible for people across the Internet to access your Web site using a
familiar domain name, instead of having to remember a series of numbers.
It usually takes about 4-8 hours for .com and .net domains and about 24-48 hours for all
other domain extensions before name servers on other networks are able to access the
information after the central registry gets it. This period is referred to as the propagation
period.
You can check if your name server change has propagated by navigating to
[Link] and performing a Whois search on your domain
name.
The process for setting up your name servers depends on the company from which you
bought your domain. If your hosting account domain name is registered with us and
resides in the same shopper account, its name servers are changed automatically at the
time hosting is set up. Otherwise, new name servers are required.
The default nameservers for your hosting account depend on the day you set up your
hosting. Use this list to determine your default nameservers:
OR
[Link]
[Link]
Check with your domain name registrar for specific instructions on how to change your
name servers.
Setting Up Your New Hosting Account 6
These name servers will point your domain name to your hosting account.
Remember that it usually takes about 4-8 hours for .com and
.net domains and about 24-48 hours for all other domain exten-
sions before you can upload your Web site.
This is an example of what your Hosting Manager looks like when you first log in:
The Hosting Manager is a graphical interface whose purpose is to facilitate the manage-
ment of your hosting account. All of the procedures outlined in this guide, with the
Setting Up Your New Hosting Account 8
exception of uploading from a third-party FTP client, take place within the Hosting Man-
ager. The Hosting Manager is also a source of current account status information. Error
log, Web statistics, and language management interfaces are accessed from the Hosting
Manager.
3. Creating and
Uploading a Web Page
The whole reason you purchased a shared hosting account to begin with is to see your
original content out on the Web. The easiest way to accomplish this is by creating and
uploading HTML/XHTML pages. In the sections that follow, we’ll walk you through both
processes.
<html>
<head>
<title>My New Web Site</title>
</head>
<body>
<h1>This is My New Web Site</h1>
<p>Hey! Welcome to my Web site. I wrote this code all by
myself. Stay tuned.</p>
</body>
</html>
3. Save your file as [Link] (all lowercase). Some editors will try to save your file as
“[Link],” but you should be able to override this by typing the file name when you
save your HTML page. If not, you can manually rename your file after you save it.
Creating and Uploading a Web Page 9
Here are a few places on the Web where you can learn more about HTML:
There are many free FTP clients available on the Internet that you can use to transfer
your files. If you only need to upload a few simple files, you can also use the Web-based
FTP client available in the Hosting Manager.
4. Under the Content section of the Hosting Manager, click the FTP Client icon.
5. If a security certificate window displays, click Yes to accept the certificate and open
the FTP program. In general, this is what the FTP program looks like when you open
it for the first time:
6. In the Local System section, go to the location on your computer where you saved
your [Link] file and select your file.
7. Click the >> arrows to upload the [Link] file to your hosting account.
After you upload your file, open a new Web browser window and type the URL to your
new file in your browser's address bar. Your URL should look like this:
[Link]
You should now see a simple Web page with the phrases, “This is My New Web Site” and
“Hey! Welcome to my Web site. I wrote this code all by myself. Stay tuned.” If not, you
may still need to wait for your hosting account to complete setup.
If you continue to have problems uploading your file, or you cannot see your [Link]
page, please contact customer support.
Here are some popular and inexpensive (some of them are free) FTP clients that you can
download and use:
FileZilla (Windows)
Smart FTP (Windows)
Fetch (Mac®)
gFTP (Linux)
Setting Explanation
FTP User Name This is the user name for your hosting account.
Start Directory Some FTP clients will ask for a “Home” or “Start” directory.
Our hosting service does not require this. Simply leave the
box blank or enter a single forward slash (i.e., /).
TROUBLESHOOTING
Sometimes you do all the preparations to get your Web site up and running, and some-
thing just doesn’t work. We have identified some of the most common pitfalls, or prob-
lems, that you may experience. You’ll find important information and recommended
solutions for fixing these problems.
When you publish or edit with FrontPage, the program automatically places
your folders in the correct directory location.
[Link] [Link]
Creating and Uploading a Web Page 15
1. Double-check that the path to your image and the name of the image are the same,
including the use of uppercase and lowercase letters. If these names are not identical,
the server cannot find your image.
2. When the server cannot find an image, a red X displays. Right-click on the red X and
select properties to see the link to the image.
We recommend that you use relative URLs when linking to Web pages. Relative URLs
identify a Web page in relation to, or in the context of, the current page. Because they do
not reference the domain name, relative URLs do not require modifications when chang-
ing environments.
[Link]
[Link]
[Link]
All of our hosting plans include a number of free email accounts, that you can create email
addresses that incorporate your domain name. For example, if Jane Smith started an
online business named “[Link],” she can create an email account with the
address “jane@[Link].” This address is more personal, memorable, and slick.
Now that Jane Smith has her email address, we’ll walk you through the process of creat-
ing yours.
Fig. 4.1 - Add Email Address link in the Email Control Center.
Setting Up Email For Your Hosting Account 18
5. In the Add Email area, select whether you are using a domain registered or hosted
with us or a domain registered or hosted elsewhere, then in the Email Address field,
enter the first part of the email address that you want to create and specify the
domain.
7. To send a carbon copy of all email messages sent to this account to another account,
in the Send Carbon Copies To field, type the email address(es) you would like to
have copies sent to.
8. Set the size of the Inbox in the Incoming Box Size field.
12. Select the number of relays you want to send per day from the Relays per Day list.
13. If you would like a message to be automatically sent to people when they send you
email, select the Auto-Responder checkbox and enter the response in the Auto-
Responder message field. If you would like to use a custom name or message
subject, enter them in the Custom Responder Properties fields.
5. In the Email Account field, type the first part of the email address that you want to
create, and then select your domain name from the list. In this example, we’ll create
the email address “jane@[Link].”
6. In the Password and Confirm Password fields, type your password for this
account.
Fig. 4.12 - Enter your email password and specify spam filtering preference.
8. To send a carbon copy of all email messages sent to this account to another account,
in the Send Carbon Copies To field, type the email address(es) you would like to
have copies sent to.
11. In the Outgoing Mail - SMTP Relaying box, from the Relays per Day list, select
250. Select Use existing username or password.
12. In the Set an auto-responder for this account box, select No.
13. Click Save Settings.
Once you create your new email address you can connect to your account using an email
client or Webmail.
User Name The name of the email account you created, for exam-
ple jane@[Link].
For more information about setting up mail accounts, please visit the support section of
our Web site.
If you are using a free email account that came with your hosting plan, click Manage
Free Accounts, and then click Setup Account next to the email account you would
like to set up.
4. From the Relays per Day list, select the number of relays per day you want to use
for the account.
5. Specify that you want to use the same user name and password for SMTP Relay that
you use to access your account (recommended), or specify that you want to use a
different user name and password and then type them in the User Name,
Password, and Confirm Password fields.
6. Click Save Settings.
Setting Up Email For Your Hosting Account 25
[Link].
To access your email account using a Web browser, go to the following Web address:
[Link]
Sign in to your account using the email address and password you set up in your account
manager.
For example, to access Webmail for the domain that we set up in this guide, you would go
to [Link] To sign in, you would use the email address for the
account you want to access, jane@[Link].
5. Managing Domains
and Sub Domains on
Your Hosting Account
With Windows shared hosting accounts, you can leverage your hard work and existing
hosted Web site content through the use of alias and sub domains.
Aliasing allows you to assign multiple domain names to one of your hosting accounts.
When users navigate to the alias domain, they see the hosting account’s content. Sub
domains provide an easy way for users to navigate directly to a content sub directory on
your hosting account.
4. Under the Settings section of the Hosting Manager, click the Aliased Domains
icon.
7. Click Continue.
8. Verify that this is the domain you want to alias and click Add.
It can take 4–8 hours for .com and .net domains and 24–48 hours for all other domain
extensions to become aliased.
There is no limit to the number of sub directories you can use, but the path can be no
more than 70 characters.
4. Under the Settings section of the Hosting Manager, click the Sub Domains icon.
5. Expand the appropriate domain name panel, and then click Add Sub Domain.
6. In the Sub Domain text box, enter the sub domain that you want to use. In this
example, we’ll create a sub domain called “subdomain.”
7. Click Continue.
8. Click Add.
It may take a few minutes for the Hosting Manager to set up your sub domain. Once this
occurs, you can upload a test html file to your new sub directory and navigate to either
location below to verify content:
[Link]
[Link]
Where “[Link]” is your domain name and “subdomain” is the name of the sub
domain you created.
6. Creating and
Connecting to a
Database
If your hosted Web site contains dynamic content or has data-driven, third-party applica-
tions installed, it needs a database to store information. Our Windows hosting accounts
offer you a plethora of database choices: MySQL, Access, and SQL Server. Database set
up and managment is accomplished through the Hosting Manager and SQL Server Web
Admin.
4. Under the Databases section of the Hosting Manager, click the SQL Server icon.
6. If you want to use DSN with this database, select Create DSN.
7. Enter a User Name and Password for your database. You will use this user name
and password to connect to your database. The user name that you create here will
also be the name of your database.
8. If you want to use this new database with an [Link] 2.0 application, select
Install Schema Features.
9. Click Continue.
10. Verify your SQL Server database settings. If everything looks okay, click Create
Database.
It may take a few minutes to create your database. You can click the Refresh button in
your browser to check and see if your database is ready.
Once you have set up a database for your account, you can click on the Pencil icon next
to the name of your database to find your host name information.
To access more advanced management functions, click Open Manager next to the data-
base you want to configure.
2. Under the Hosting & Email section, select Hosting Account List.
3. Next to the hosting account you want to modify, click Open.
4. Under the Databases section of the Hosting Manager, click the SQL Server icon.
5. From your list of databases, click the Pencil icon next to the appropriate database.
6. The Database Information page displays. Here you will find the database name and
host name for your database.
CONNECTING TO A DATABASE
Once you know the host name, database name, user name, and password for you data-
base, you can connect to it using code or the configuration file for your Web application.
In general, this is a review of the information you’ll need to connect to your database:
Setting Explanation
Hostname You can find the host name for your database on the data-
base information page in your Hosting Manager.
User Name The user name you chose when you created your databse.
Password The password you chose when you created your database.
Creating and Connecting to a Database 40
This code example uses ADO and VB Script to connect to a SQL Server database. This
script connects to a database, queries a specified table, and prints the contents. NOTE:
Windows shared hosting accounts do not support PHP scripts.
<%
Dim oConn, oRs
Dim qry, connectstr
Dim db_name, db_username, db_userpassword
Dim db_server, fieldname, tablename
db_server = "[Link]"
db_name = "your_dbusername"
db_username = "your_dbusername"
db_userpassword = "your_dbpassword"
fieldname = "your_field"
tablename = "your_table"
Do Until [Link]
[Link] ucase(fieldname) & ": " & [Link](field-
name) & "<br/>"
[Link]
Loop
[Link]
For more information about SQL Server and connecting to a SQL Server database, visit
Microsoft SQL Server Home at: [Link]
7. Installing Web
Applications
As if all we’ve done for you wasn’t enough, there’s one more perk to being a hosting cus-
tomer: the Windows [Link] value applications that are included with your Deluxe or
Premium account. These applications can add functionality to your Web site in just a few
steps. The best part is, you don’t have to dirty your hands by writing a line of code.
These free applications can be used for project management, content management, and
the setting up of a user forum. Below is a list of the value applications available:
Community Server
The [Link] Community Server Kit is a Web application that makes it easy for you to
build a user forum, blog, or photo gallery on your Web site.
Time Tracker
The [Link] Time Tracker Starter Kit is a Web application that allows users to track the
time they worked on a particular project. Project managers can review these timesheets
and generate reports to track project status.
The following steps can be used to install any of the [Link] value applications.
4. Under the Content section of the Hosting Manager, click the Value Applications
icon.
5. Read through the disclaimer and click Accept on the Value Application Disclaimer
page.
6. In the value applications manager, select the application you would like to install.
7. Enter the Virtual Directory Name in which the application will reside.
8. Click Install.
The Hosting Manager automatically installs the necessary files and creates the database
you will need to use your Web application. Once your Web application is ready to use, you
can access it on your hosting account by clicking on the Launch Application link in the
Value Applications section of your Hosting Manager, or you can navigate to the following
URL:
[Link]
Where “[Link]” is your domain name and “directory” is the location in which
the application was installed.
Personal Web Site is a Microsoft Starter Kit that provides home, resume, photo, and favor-
ite links pages. In this example, we’ll create a Personal Web Site, using a SQL Server
database.
NOTE: The [Link] 2.0 runtime must be enabled for Personal Web Site to run correctly.
Your account must also have a SQL Server database installed with schema features.
5. Under the Databases section of the Hosting Manager, click the SQL Server icon.
6. Next to the name of your SQL Server database, click Open Manager. The SQL
Server Web Admin tool displays.
Fig. 7.8 - SQL Server Open Manager icon in your Hosting Manager.
Installing Web Applications 46
7. In the tree on the left, expand the Connection folder and select Connection.
8. Enter the User Name and Password for your database. You created your user
name and password when you set up your SQL server. Click Connect.
9. Expand the Tools folder on the left and select Query Analyser.
10. On your local computer, open the "[Link]" file for your Personal Web site.
This file is located in the "App_Data" folder, off the web project root.
11. Copy all of the content in the "[Link]" file and paste it into the Query
Analyser section of your SQL Server Web Admin tool.
Fig. 7.12 - Query Analyser window in your SQL Server Web Admin.
13. Modify the connection strings section of your hosting account’s [Link] file so it
resembles the file below, where the values for server, database, user ID, and
password are those that were created during the set up of your SQL Server
database:
<connectionStrings>
<add name="Personal" connectionString="
Server=[Link];
Database=DB_675;
User ID=user_id;
Password=password;
Trusted_Connection=False"
providerName="[Link]" />
<remove name="LocalSqlServer"/>
</connectionStrings>
Upload (FTP) your Web site.