After you build your Web site, you can publish it to your VPS v2 Virtual Server.
The term "publish," when used in the context of Web files, refers to
the uploading of Web files from your computer to a remote host (your VPS v2 Virtual Server).
Many popular HTML authoring packages have built-in
publishing capabilities. These packages use the File Transfer Protocol (FTP) or
the Hypertext Transfer Protocol (HTTP) to transmit your Web content from your
computer to the remote host. You should not base your decision to select one
Web authoring program over another just because one can "publish" but
the other cannot. You can publish your Web content to your VPS v2 Virtual Server with any freely
available FTP client such as WS_FTP, Fetch, or the FTP client built into your
operating system.
Regardless of the method you use to publish your Web
content to your VPS v2 Virtual Server, the underlying pieces of information that are required in
order to publish the content are the same:
You should publish your Web files to the /usr/local/apache/htdocs directory (unless you
have modified the default value of the DocumentRoot directive). When your VPS v2 Virtual Server
is configured, a file named index.php is created and stored in this directory.
This is the default page that is displayed when you access your Web site with a
browser. You can upload your Web content to the /usr/local/apache/htdocs
directory or any of its subdirectories.
If you publish (or upload) a file named test.htm to your
htdocs directory, you can access that file using the following URL:
http://www.your_company.com/test.htm
Additionally, if you create a subdirectory entitled
documents in your htdocs directory, and then transfers a file info.html to that
directory. It could then be accessed with the following URL:
http://www.your_company.com/documents/info.html
Publishing with an HTTP-Put-Capable Editor
HTML authoring packages use different methods for
uploading the pages to your VPS v2 Virtual Server. Some use FTP, some (for example, AOL) use the
HTTP-Put method, and some (for example, FrontPage) use a form of HTTP.
Microsoft FrontPage
Enetrics Communications supports the Microsoft FrontPage 2002 server
extensions. For more information about Microsoft FrontPage, go to:
Installing FrontPage Extensions
Unlike other publishing programs, FrontPage requires that
you first install the FrontPage server extensions on the server on which you
are going to publish your Web pages. You can upload Web pages created in
FrontPage to a server that does not have the extensions, but many features such
as counters, feedback forms, and navigation bars will not work. Therefore, if
you want all your creative efforts to shine, install the FrontPage server
extensions and then publish your Web pages. The following are the steps for
installing the FrontPage server extensions:
Installing FrontPage 2002 Server Extensions
To install FrontPage extensions, you must use an SSH (not
iManager) connection.
-
Type
# vinstall frontpage
-
Follow the prompts.
Note: Before you can
successfully install the FrontPage 2002 server extensions, make sure that
virtual hosts’ directories are under /home/username/www/domain.
Their Document Root directories cannot be under /usr/local/apache/htdocs.
Installing FrontPage 2002 Server Extensions for Virtual Hosts
The FrontPage script reads the /www/conf/httpd.conf file and detects virtual
hosts. The script lists the virtual hosts and enables you to install the
FrontPage extensions on each virtual host. The FrontPage script can be run each
time you add a new virtual host. The disk space used to install to a virtual
host is minimal compared to the first install (which takes approximately 5 megabytes).
Connecting to the VPS v2 Virtual Server with FrontPage
To connect using FrontPage:
-
On your local computer’s Windows screen, click Start, Programs,
FrontPage.
-
Click File, Open Web, and type in the full URL of the domain
you want to connect to (i.e. http://www.your_company.com).
-
Click Open.
-
At the prompt, type the FrontPage administrative user login name and
password (which is the same login name and password you entered while running
FrontPage).
Publishing FrontPage Web Pages
To publish your Web pages:
-
Although you can connect to your VPS v2 Virtual Server, most of the time you will create
FrontPage Web pages on your local computer. When you have finished creating
them, it is time to publish them. In the FrontPage program. Click File,
Publish, Web.
-
In the FrontPage Web box type http://www.your_company.com.
-
Click Publish.
-
Type your user name and password for the Web, and publishing occurs.
When the publish process is complete, your Web site is ready to view. If you
receive any errors such as a "time-out," you might need to recalculate
the links manually.
Note: Always use the
FrontPage Publish feature so FrontPage can recalculate the Web site for the
server that is publishing.
Changing a FrontPage administrative user's Password and ID
To change the FrontPage administrative password and user
ID:
-
Type:
% cd /home/enetrics/www/enetrics.com/_vti_pvt
-
Edit the service.grp file by typing:
% vi service.grp
-
Add the new FrontPage administrative user to the end of the new_ user
line.
-
Type the following to add a password for the new user:
% htpasswd service.pwd new_user_id
where new_user_id equals the new
admin ID.
-
Save and exit the file.
If you are only changing the password, skip steps 3 and 4.
Change the password in FrontPage Explorer if you have forgotten it.