Bluehost.com Web Hosting $6.95

Please help an Idiot!

This is a discussion on Please help an Idiot! within the Windows Web Servers forums, part of the Web Server and Related Forums category; I just installed Apache 2.5 today. I know absolutely nothing about it. I have heard that is a web ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-16-2004
Sleepy Sentry
 
Posts: n/a
Default Please help an Idiot!

I just installed Apache 2.5 today. I know absolutely nothing about it.
I have heard that is a web hosting service with all the storage and
bandwith you want. Is this true? If it is, then please help me. I have
a webpage at tripod.com, a web hosting service. How do I get my
webpage onto the Apache server? Can use FrontPage extensions? If so,
then how?

I'm really sorry if my questions are really, really stupid. And I
probably don't know enough to use Apache.

Anyway, all I know is HTML. So what I mean to ask is how do get my
webpage on Apache? Are there and websites or books that explain Apache
from the very, very beginning? I mean, the beginning. Like I know no
XML or PHP.

Thanks.
  #2 (permalink)  
Old 07-16-2004
Kenneth Doyle
 
Posts: n/a
Default Re: Please help an Idiot!

stormwarning4you@yahoo.com (Sleepy Sentry) wrote in
news:e985d991.0407151554.34436ee9@posting.google.c om:

> Anyway, all I know is HTML. So what I mean to ask is how do
> get my webpage on Apache?


You have a steep learning curve in front of you. What I have
done is to make an intro. page that sits in my ISP's webspace.
It's always accessible just as your pages are now; even when my
machine is off. On that page is a link to my index.html page in
Apache. The page on my ISP's webspace has to be updated every
time my machine's IP address changes.

Anyway, the answer to your question is:

1. Copy all your *.html pages (and their directory structure)
from your ISP to the directory that your Apache's 'docroot' is
set to (set in 'httpd.conf', which is the Apache configuration
file). note. you don't need those pages on your ISP anymore.

2. Put a link to your machine (or just a meta refresh with the
same IP address) in the index.html page on your ISP's webspace.
That index.html page on your ISP's webspace must be updated with
your new IP address whenever it changes (or get a static IP
address).


Now, anyone going to your original website, will see a page with
a link to your machine (or they will automatically be redirected
if you used the meta refresh approach).


--
CodeCutter - good, fast and cheap; pick two.
  #3 (permalink)  
Old 07-16-2004
Andy Fish
 
Posts: n/a
Default Re: Please help an Idiot!


"Sleepy Sentry" <stormwarning4you@yahoo.com> wrote in message
news:e985d991.0407151554.34436ee9@posting.google.c om...
> I just installed Apache 2.5 today. I know absolutely nothing about it.
> I have heard that is a web hosting service with all the storage and
> bandwith you want. Is this true? If it is, then please help me. I have
> a webpage at tripod.com, a web hosting service. How do I get my
> webpage onto the Apache server? Can use FrontPage extensions? If so,
> then how?
>


no, apache is a piece of software that runs on a web server most web hosting
companies will use it (probably including tripod) but apache itself is not a
hosting service.

if you have downloaded apache, it means you can run a web site on your pc.
so if your pc is permanently connected to the internet and always left on,
you can host your own web site.


> I'm really sorry if my questions are really, really stupid. And I
> probably don't know enough to use Apache.
>
> Anyway, all I know is HTML. So what I mean to ask is how do get my
> webpage on Apache? Are there and websites or books that explain Apache
> from the very, very beginning? I mean, the beginning. Like I know no
> XML or PHP.
>
> Thanks.



  #4 (permalink)  
Old 08-10-2004
Ron Smith
 
Posts: n/a
Default Re: Please help an Idiot!


"Kenneth Doyle" <nobody@notmail.com> wrote in message
news:Xns95287BF393069nobodynotmailcom@61.9.191.5.. .
> stormwarning4you@yahoo.com (Sleepy Sentry) wrote in
> news:e985d991.0407151554.34436ee9@posting.google.c om:
>
> > Anyway, all I know is HTML. So what I mean to ask is how do
> > get my webpage on Apache?

>
> You have a steep learning curve in front of you. What I have
> done is to make an intro. page that sits in my ISP's webspace.
> It's always accessible just as your pages are now; even when my
> machine is off. On that page is a link to my index.html page in
> Apache. The page on my ISP's webspace has to be updated every
> time my machine's IP address changes.
>
> Anyway, the answer to your question is:
>
> 1. Copy all your *.html pages (and their directory structure)
> from your ISP to the directory that your Apache's 'docroot' is
> set to (set in 'httpd.conf', which is the Apache configuration
> file). note. you don't need those pages on your ISP anymore.


I am running Apache on my PC as a localhost, and cannot get it to show my
HTML files. I copied them to the directory that docroot is pointing to, but
I get the "file not found" message. I am using an XAMPP installation of
Apache. It appears to be running correctly.


  #5 (permalink)  
Old 08-10-2004
Kenneth Doyle
 
Posts: n/a
Default Re: Please help an Idiot!

"Ron Smith" <rsmith@qwest.net> wrote in
news:2nqornF37cc8U1@uni-berlin.de:

> I am running Apache on my PC as a localhost, and cannot get it to show
> my HTML files. I copied them to the directory that docroot is
> pointing to, but I get the "file not found" message. I am using an
> XAMPP installation of Apache. It appears to be running correctly.


What address are you giving to the browser?

In httpd.conf:
Is your ServerRoot set to the Apache installation directory?

What does your Listen directive look like?

What does your ServerName directive look like? In the httpd.conf file,
there are these comments about the ServerName directive:

# If your host doesn't have a registered DNS name, enter its IP address
here.
# You will have to access it by its address anyway, and this will make
# redirections work in a sensible way.

I have found, on my set up (ie, computer + ISP) that I don't have to give
an IP address, even though I don't have my own domain name. My machine's
name is 'louise' and my ISP assigned domain is 'nsw.bigpond.net.au', so I
can do this:

ServerName louise.nsw.bigpond.net.au:80


I'm not sure if that will work for you, it would depend on how your ISP's
domain name server is configured (I think). If in doubt, use your IP
address (and naturally, change it and reboot whenever your IP address
changes).

It's really just a case of going through your httpd.conf file, line by
line, until you understand what each directive is doing. I've just
mentioned the most likely directives to check, that I can think of.



--
CodeCutter - good, fast and cheap; pick two.
  #6 (permalink)  
Old 08-10-2004
Ron Smith
 
Posts: n/a
Default Re: Please help an Idiot!


"Kenneth Doyle" <nobody@notmail.com> wrote in message
news:Xns95417EC0FEC19nobodynotmailcom@61.9.191.5.. .
> "Ron Smith" <rsmith@qwest.net> wrote in
> news:2nqornF37cc8U1@uni-berlin.de:
>
> > I am running Apache on my PC as a localhost, and cannot get it to show
> > my HTML files. I copied them to the directory that docroot is
> > pointing to, but I get the "file not found" message. I am using an
> > XAMPP installation of Apache. It appears to be running correctly.

>
> What address are you giving to the browser?

127.0.0.1

> In httpd.conf:
> Is your ServerRoot set to the Apache installation directory?


ServerRoot "c:/apachefriends/xampp/apache"

> What does your Listen directive look like?


Listen 80

> What does your ServerName directive look like?


ServerName localhost

> In the httpd.conf file,
> there are these comments about the ServerName directive:
>
> # If your host doesn't have a registered DNS name, enter its IP address
> here.
> # You will have to access it by its address anyway, and this will make
> # redirections work in a sensible way.
>
> I have found, on my set up (ie, computer + ISP) that I don't have to give
> an IP address, even though I don't have my own domain name. My machine's
> name is 'louise' and my ISP assigned domain is 'nsw.bigpond.net.au', so I
> can do this:
>
> ServerName louise.nsw.bigpond.net.au:80
>
>
> I'm not sure if that will work for you, it would depend on how your ISP's
> domain name server is configured (I think). If in doubt, use your IP
> address (and naturally, change it and reboot whenever your IP address
> changes).
>
> It's really just a case of going through your httpd.conf file, line by
> line, until you understand what each directive is doing. I've just
> mentioned the most likely directives to check, that I can think of.
>
>
>
> --
> CodeCutter - good, fast and cheap; pick two.



  #7 (permalink)  
Old 08-10-2004
Kenneth Doyle
 
Posts: n/a
Default Re: Please help an Idiot!

"Ron Smith" <rsmith@qwest.net> wrote in
news:2nqqu9F39t4gU1@uni-berlin.de:

>
> "Kenneth Doyle" <nobody@notmail.com> wrote in message


>> What address are you giving to the browser?

> 127.0.0.1


>> What does your ServerName directive look like?

>
> ServerName localhost
>


Try using your actual IP address in both of those places (run 'ipconfig'
from a command line to see your address).


--
CodeCutter - good, fast and cheap; pick two.
  #8 (permalink)  
Old 08-10-2004
Ohaya
 
Posts: n/a
Default Re: Please help an Idiot!


"Ron Smith" <rsmith@qwest.net> wrote in message
news:2nqqu9F39t4gU1@uni-berlin.de...
>
> "Kenneth Doyle" <nobody@notmail.com> wrote in message
> news:Xns95417EC0FEC19nobodynotmailcom@61.9.191.5.. .
> > "Ron Smith" <rsmith@qwest.net> wrote in
> > news:2nqornF37cc8U1@uni-berlin.de:
> >
> > > I am running Apache on my PC as a localhost, and cannot get it to show
> > > my HTML files. I copied them to the directory that docroot is
> > > pointing to, but I get the "file not found" message. I am using an
> > > XAMPP installation of Apache. It appears to be running correctly.

> >
> > What address are you giving to the browser?

> 127.0.0.1
>
> > In httpd.conf:
> > Is your ServerRoot set to the Apache installation directory?

>
> ServerRoot "c:/apachefriends/xampp/apache"



Hi Ron,

Apologies for dropping in on this thread... In your Apache directory, there
should be a subdir called "logs". Take a look in there, there should be
error.log, and I think error_log, and access.log and access_log (doing this
from memory). Look at those files, using Notepad. I think one of them
shows what the actual file path that Apache is trying to access.

Also, is this on Windows? You have your ServerRoot with forward slashes
("/"), and on Windows, I would think that it should be backslashes ("\")?

Jim


  #9 (permalink)  
Old 08-10-2004
Kenneth Doyle
 
Posts: n/a
Default Re: Please help an Idiot!

"Ohaya" <Ohaya@NO_SPAM.cox.net> wrote in
news:bBYRc.12077$Yf6.5567@lakeread03:

> Also, is this on Windows? You have your ServerRoot with forward slashes
> ("/"), and on Windows, I would think that it should be backslashes ("\")?
>


Normally that would be true. However, the Apache docs are quite explicit
in their insistance on the use of forward slashes.


--
CodeCutter - good, fast and cheap; pick two.
  #10 (permalink)  
Old 02-14-2005
Tony23
 
Posts: n/a
Default Re: Please help an Idiot!

"Andy Fish" <ajfish@blueyonder.co.uk> wrote in message
news:qwOJc.777$HO3.8863835@news-text.cableinet.net...
>
>
> if you have downloaded apache, it means you can run a web site on your pc.
> so if your pc is permanently connected to the internet and always left on,
> you can host your own web site.


I noticed that IIS has a limit of 10 simultaneous connections. Does Apache
have any such limit? I couldn't find anything in the FAQ's.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:40 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0