Configure via router

This is a discussion on Configure via router within the Apache Web Server forums, part of the Web Server and Related Forums category; I'm a complete newbie to Apache, so any help would be appreciated in as simple terms as possible. I'...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-15-2004
scorpio18
 
Posts: n/a
Default Configure via router

I'm a complete newbie to Apache, so any help would be appreciated in as
simple terms as possible.

I'm about to install Apache 2.0.48 on Windows XP via the Win32 installer. I
know this isn't the best O.S. but it's what I have to work with. Apache will
be installed on a system which is connected to a router. If the internal IP
is 10.0.0.5, how would I get http://my.ip.address to point to the system
which has Apache installed. I tried this once before briefly and it kept
asking for a username and password, which lead to my router setup
(10.0.0.2). It's probably easy to do, but as I say, it's all new to me.

--
Scorpio


  #2 (permalink)  
Old 01-15-2004
Colyn
 
Posts: n/a
Default Re: Configure via router

On Thu, 15 Jan 2004 22:18:30 -0000, "scorpio18"
<scorpio18@reply.is.valid> wrote:

>I'm a complete newbie to Apache, so any help would be appreciated in as
>simple terms as possible.
>
>I'm about to install Apache 2.0.48 on Windows XP via the Win32 installer. I
>know this isn't the best O.S. but it's what I have to work with. Apache will
>be installed on a system which is connected to a router. If the internal IP
>is 10.0.0.5, how would I get http://my.ip.address to point to the system
>which has Apache installed. I tried this once before briefly and it kept
>asking for a username and password, which lead to my router setup
>(10.0.0.2). It's probably easy to do, but as I say, it's all new to me.


First off, have you made a DNS request with your internet provider?

If so, just make sure your assigned static IP is entered into the
router properly and port 80 points to the right machine internal IP..

Colyn Goodson

http://home.swbell.net/colyng
http://www.colyngoodson.com
http://www.colyngoodson.com/manuals.html
  #3 (permalink)  
Old 01-15-2004
Klaus Kreuzpaintner
 
Posts: n/a
Default Re: Configure via router

Hi,

you have to enable the port forwarding (port 80) of your router to
connect via your public ip to your apache server. Everyone can access
then to your webserver via the internet.
Is that what you want? if not, then just type http://localhost and
everything should work fine!

regards

klaus
  #4 (permalink)  
Old 01-16-2004
scorpio18
 
Posts: n/a
Default Re: Configure via router


"Colyn" <virusfree@thisnetcom.net> wrote in message
news:cd7e00lse5rj3qi73kjhfih38n7jdim3iv@4ax.com...
> On Thu, 15 Jan 2004 22:18:30 -0000, "scorpio18"
> <scorpio18@reply.is.valid> wrote:
>
> >I'm a complete newbie to Apache, so any help would be appreciated in as
> >simple terms as possible.
> >
> >I'm about to install Apache 2.0.48 on Windows XP via the Win32 installer.

I
> >know this isn't the best O.S. but it's what I have to work with. Apache

will
> >be installed on a system which is connected to a router. If the internal

IP
> >is 10.0.0.5, how would I get http://my.ip.address to point to the system
> >which has Apache installed. I tried this once before briefly and it kept
> >asking for a username and password, which lead to my router setup
> >(10.0.0.2). It's probably easy to do, but as I say, it's all new to me.

>
> First off, have you made a DNS request with your internet provider?
>
> If so, just make sure your assigned static IP is entered into the
> router properly and port 80 points to the right machine internal IP..
>


I'm using a dynamic IP at present, but I'm making sure I type
http://current.ip.address each time. I've tried setting the port to forward
to 10.0.0.5, which is the correct machine as http://10.0.0.5 works
internally. My router is a 4 Port SpeedCom+ ADSL Router, incase anybody
knows which settings I need to change to get this working, as I may be
changing the wrong thing.

--
Scorpio


  #5 (permalink)  
Old 01-16-2004
scorpio18
 
Posts: n/a
Default Re: Configure via router


"Klaus Kreuzpaintner" <spam_mich_voll@web.de> wrote in message
news:bu7702$rof$1@news-in.kamp.net...
> Hi,
>
> you have to enable the port forwarding (port 80) of your router to
> connect via your public ip to your apache server. Everyone can access
> then to your webserver via the internet.
> Is that what you want? if not, then just type http://localhost and
> everything should work fine!
>


I've tried forwarding port 80, but I may be doing something wrong in the
ADSL router's settings. It's a 4 Port SpeedCom+ ADSL Router. If you (or
anyone) know which settings I need to change, and what those settings should
be, please let me know.

TIA

--
Scorpio


  #6 (permalink)  
Old 01-17-2004
Noyb
 
Posts: n/a
Default Re: Configure via router


"scorpio18" <scorpio18@reply.is.valid> wrote in message
news:40071277$0$61053$65c69314@mercury.nildram.net ...
> I'm a complete newbie to Apache, so any help would be appreciated in as
> simple terms as possible.
>
> I'm about to install Apache 2.0.48 on Windows XP via the Win32 installer.

I
> know this isn't the best O.S. but it's what I have to work with. Apache

will
> be installed on a system which is connected to a router. If the internal

IP
> is 10.0.0.5, how would I get http://my.ip.address to point to the system
> which has Apache installed. I tried this once before briefly and it kept
> asking for a username and password, which lead to my router setup
> (10.0.0.2). It's probably easy to do, but as I say, it's all new to me.
>
> --
> Scorpio
>
>


I have a similar setup. These are the steps I used and it works fine:
- foward port 80 to the machine running apache's IP: 10.0.0.5
- add "127.0.0.1 mysite.loc www.mysite.loc" to
C:\WINDOWS\system32\drivers\etc\hosts to test it locally
- add the following to httpd.conf:

NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin admin@mysite.com
ServerName www.mysite.com
ServerAlias mysite.com *.mysite.com
DocumentRoot C:/www/mysite.com
</VirtualHost>

<VirtualHost *:80>
ServerAdmin admin@mysite.com
ServerName www.mysite.loc
ServerAlias mysite.loc *.mysite.loc
DocumentRoot C:/www/mysite.com
</VirtualHost>

Shut off Windows firewall and anything else just while testing to make sure
it's not blocking 80 like mine was. Check http://localhost and make sure
apache is running. That's all I can think of but I'm fairly new to this too.
Luck.
Steve.


 
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 10:58 PM.


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