07-05-04 10:56 PM
"maurice" <mr_chat123@yahoo.com> posted:
> I'm using ssh to access a server which has linux box installed on it.
My guess is that it's the other way around. You're accessing a server on
a Linux box.
> The version of linux is SuSE Linux 9.1. My question is this, is linux box
> a web server.
A computer running Linux can be a web server. It doesn't have to be one,
and a web server doesn't need to run on a Linux installation. It all
depends on whether web serving software is installed on the system that
you're using.
Basically put, a web server is just software. Any server is just software
(programming).
> I want to create a test web page and play around with it. Can I do this
> from my home pc?
You should be able to do it from any computer. Writing webpages (HTML) is
something that can be done on the simplest machines. Writing more
elaborate things requires that you know what you're doing (writing complex
HTML pages, or scripts and programs that run on the server).
> I'm reading information about how to publish a web page and they all say
> to use a FTP program, do I need to do this if I am using ssh to access
> the server? Once I'm on the server, can't I just use a text editor, like
> pico, to write some html code, and save it with some extension?
It depends on how the server is set up. Many have FTP access so you can
transfer your webpage files over to the server. If you've got SSH access,
you're logged into the remote system and are actually using it. It should
be possible to write documents that way, and save the results into the
right place for the web server to use them.
As a general rule, it doesn't matter in slightest how you name webpages
for them to be served to the web (you don't need to call a page
"example.html" you can call it "example.webpage", if you like), because the
server identifies what sort of information it's serving to the browser
(e.g. says it's "text/html"). But you do have to author your pages in a
manner that suits how the webserver is set up (decent systems allow you to
customise them). Generally speaking, they'll expect HTML pages to have a
.html filename suffix.
> Afterwards, how do I see the page on a web browser?
Browse to the URI that reflects the location of your pages on their
system.
If you were working on a server at "example.org", and put something like
"testpage.html" in the webserver's documents root directory (often
"/var/www/html/"), then you're probably going to be able to see your page
at one of the following URIs: <http://example.com/testpage.html> or
<http://www.example.com/testpage.html>
--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.
This message was sent without a virus, please delete some files yourself.
[ Post a follow-up to this message ]
|