|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
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. |
|
![]() |
| Outils de la discussion | |
|
|