PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > How to setup apache webserver so that it can be accessed from www?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

How to setup apache webserver so that it can be accessed from www?

Réponse
 
LinkBack Outils de la discussion
Vieux 10/02/2007, 13h42   #1
white lightning
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How to setup apache webserver so that it can be accessed from www?

Hi all,

I have xampp (apache, mysql, ...) installed in my local machine that
acts as a web server. I have a router and have 4 computers sharing
internet connection. I'd like to have my machine accessible from
outside my local network (from www). Currently, my router assigns IPs
using DHCP. I think I need to have static IP set for my webserver PC
to do it. Am I right? How do I configure this? Can someone show me an
easy step-by-step process to achieve this?

Thanks

  Réponse avec citation
Vieux 10/02/2007, 13h54   #2
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to setup apache webserver so that it can be accessed from www?

On 2007-02-10, white lightning <crescent_au@yahoo.com> wrote:
> internet connection. I'd like to have my machine accessible from
> outside my local network (from www).


The 'from www' means 'from the public internet', right? Then you'll have
to configure your router to route incoming connections to your web
server, fix the ip address that your router assign to it and use some
no-ip service to have a domain name assigned to your ip whenever that
changes. Check the T&C of your ISP if you're allowed to run a web
service with your current contract.

Davide

--
So what is the best way to protect yourself against the ILOVEYOU virus? Install
Linux. If that's not an option, try uninstalling Windows.
-- Geoff Johnson
  Réponse avec citation
Vieux 10/02/2007, 14h01   #3
dillinger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to setup apache webserver so that it can be accessed fromwww?

white lightning wrote:
> Hi all,
>
> I have xampp (apache, mysql, ...) installed in my local machine that
> acts as a web server. I have a router and have 4 computers sharing
> internet connection. I'd like to have my machine accessible from
> outside my local network (from www). Currently, my router assigns IPs
> using DHCP. I think I need to have static IP set for my webserver PC
> to do it. Am I right? How do I configure this? Can someone show me an
> easy step-by-step process to achieve this?
>
> Thanks
>


Not necessarily, look in the manual of your router for NAT or virtual
server or something like that.
If it doesn't work, try asking in some "network" newsgroup.

Michel.
  Réponse avec citation
Vieux 10/02/2007, 14h53   #4
shimmyshack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to setup apache webserver so that it can be accessed from www?

On Feb 10, 2:01 pm, dillinger <dillin...@invalid.not> wrote:
> white lightning wrote:
> > Hi all,

>
> > I have xampp (apache, mysql, ...) installed in my local machine that
> > acts as a web server. I have a router and have 4 computers sharing
> > internet connection. I'd like to have my machine accessible from
> > outside my local network (from www). Currently, my router assigns IPs
> > using DHCP. I think I need to have static IP set for my webserver PC
> > to do it. Am I right? How do I configure this? Can someone show me an
> > easy step-by-step process to achieve this?

>
> > Thanks

>
> Not necessarily, look in the manual of your router for NAT or virtual
> server or something like that.
> If it doesn't work, try asking in some "network" newsgroup.
>
> Michel.


also here:
http://groups.google.com/group/alt.a...N+hosts+dyndns

its been dealt with in this group ad nauseum

  Réponse avec citation
Vieux 10/02/2007, 22h31   #5
white lightning
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to setup apache webserver so that it can be accessed from www?

On Feb 11, 1:01 am, dillinger <dillin...@invalid.not> wrote:
>
> Not necessarily, look in the manual of your router for NAT or virtual
> server or something like that.
> If it doesn't work, try asking in some "network" newsgroup.
>


Let me clear few things. The thing is when I type in the IP that I get
while connecting to the internet (received from ISP), it takes me to
the router configuration program. The router's internal IP is
192.168.0.1 and my PC is 192.168.0.2. The internet IP is say
138.125.72.66. When I type in 138.125.72.66 in the browser, I get the
router config program. What I want to do is, when someone enters
138.125.72.66 in the browser, I want to redirect to my PC
(192.168.0.2). This is where my webserver is located.

  Réponse avec citation
Vieux 11/02/2007, 11h46   #6
shimmyshack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to setup apache webserver so that it can be accessed from www?

On 10 Feb, 22:31, "white lightning" <crescent...@yahoo.com> wrote:
> On Feb 11, 1:01 am, dillinger <dillin...@invalid.not> wrote:
>
>
>
> > Not necessarily, look in the manual of your router for NAT or virtual
> > server or something like that.
> > If it doesn't work, try asking in some "network" newsgroup.

>
> Let me clear few things. The thing is when I type in the IP that I get
> while connecting to the internet (received from ISP), it takes me to
> the router configuration program. The router's internal IP is
> 192.168.0.1 and my PC is 192.168.0.2. The internet IP is say
> 138.125.72.66. When I type in 138.125.72.66 in the browser, I get the
> router config program. What I want to do is, when someone enters
> 138.125.72.66 in the browser, I want to redirect to my PC
> (192.168.0.2). This is where my webserver is located.


did you check out the link that I gave? this has been covered many
times here.
http://groups.google.com/group/alt.a...N+hosts+dyndns

In brief, this is what you need, however you are encouraged to search
the past topics.

router: port forward incoming 80,443 to 0.2, make sure DHCP starts
above 0.2, set up dyndns if needed for any FQDNs you want to serve

server pc: set static IP 0.2, open firewall if needed for those ports
and apache application. make sure apache is bound to 0.2 and has a
vhost section for any FQDN you wish it to service. turn off any
extraneous services. Update your machine, upgrade all software. Make
sure you have the latest version of apache etc..., pay attention to
your httpd.conf file before you open the server to the world.

every LAN pc: adjust hosts file to map your FQDN name to 0.2, run
firewalls with rule - do not trust 0.2 for filesharing - if on windows

public DNS: change the A record for any FQDN you own to point to your
public IP, or to the dyndns you set up. change rDNS entry to match the
FQDN from which any local mail might start originating from - if you
are going to send mail from a local site.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h56.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13304 seconds with 14 queries