Operating System - HP-UX
1748166 Members
3754 Online
108758 Solutions
New Discussion юеВ

access to html in a server

 
Tan Teck Khim
Occasional Advisor

access to html in a server

i configured a HP-ux 11i v3 server and able to surf the net from server using mozilla and firefox.

But the task now is to put a html page inside that server and able to open the html page using a laptop with LAN connection.

i was able to access the server with FTP client and import the html page to the server.Then i try to open the webpage by typing the server ip address on the IE browser but error occurs.

anything wrong ? pls help cuz im newbie in server thing ....
6 REPLIES 6
Steven Schweda
Honored Contributor

Re: access to html in a server

> [...] error occurs.

_Which_ "error occurs"?

> anything wrong ? [...]

Most likely, you need to install and run
(and/or configure) a Web server. Some form
of Apache should be available from HP.
Tan Teck Khim
Occasional Advisor

Re: access to html in a server

sorry i asked the wrong question ....

i wanna ask , how to configure an apache web server ?

any instructions ? in detail ( hopefully)
Steven Schweda
Honored Contributor

Re: access to html in a server

Tan Teck Khim
Occasional Advisor

Re: access to html in a server

i manage to run the apache web server already .... thank for helping anyway



but i got another question :

i now manage to open the webpage with laptop in LAN connection . but fail through internet ...


what should i do ?

isit the configuration problem ?
Steven Schweda
Honored Contributor

Re: access to html in a server

> what should i do ?

You might start by explaining exactly what
you did, and exactly what happened when you
did it. Showing actual commands with their
actual output (error messages) can be more
useful than vague descriptions and
interpretations.

> [...] but fail through internet ...

How much network hardware and/or software
lies between these system? A firewall
anywhere could block anything. Bad routes on
the server could stop replies from getting
back to the client. Many things are
possible, and "fail" doesn't provide enough
information to choose among them.
Tan Teck Khim
Occasional Advisor

Re: access to html in a server

Problem : cannot run website from server

i found some useful material on search engine before i get any reply from HP forum so i forget to mention in detail.

solution : basically its the apache web server configuration problem(httpd.conf)

step 1 : configure the web server
location: /opt/hpws/apache/conf/httpd.conf
-modify the configuration accordingly.there's description for each parameter.
-save file after u modify and it is recommended to keep a backup of httpd.conf for safety purpose or keep track of the changes u made.

step 2 : run the apache web server
there are 2 ways to do so .

a)manually
-to start :
/opt/hpws/apache/bin/apachectl start

-to stop :
/opt/hpws/apache/bin/apachectl stop

b)auto start when system boot
location: /etc/rc.config.d/hpws_apacheconf

-modify the following sentences

HPWS_APACHE_START=1

*when u set the start as true(1) , the apache web server will auto start everytime u reboot the server


after the 2 steps,we should be to run website from server.

my server system
server : RX2660
Operation Environment : HP-UX 11i v3


sorry for not explaining anything . i was rushing yesterday.many tasks to do.