Jump to content

deleted


6 posts in this topic

Recommended Posts

Hello all,

 

Apache works fine on my dial up modem so i can log to "localhost" AND create my internet server on my ip "http://myip"

 

but now i am using wanadoo liveBox adsl and i can acces to locahost but i can't acces to my ip server over the internet

 

I know, because i am behind a router or something . this can be solved by prot forwarding?

I read here

http://www.portforward.com/english/routers...box/Azureus.htm

how to run azarus and the torrents fine by redirecting port or something and there is my livebox model too inventel with screenshot... but even i didnt get it because i didnt get the DNS 2 ip.

 

So, how can i do it for apache server ? I need to create my internet server as i did before , (i mean giving my ip to someone and he can log in to my server ...)

and i just want to note:

 

when i run cmd ipconfig

i get ip adress = 192.168.1.10

and default gateway = 192.168.1

 

when i open 192.168.1.10 i enter the the localhost server and when i open 192.168.1.1 i enter the livebox configuration.

 

Thanks!

Waiting for reply

 

You should add your server into a DMZ or use port forwarding (depends from you router).

Simply redirect all needed ports to a specific IP (every request from outside on these ports will be redirected to this PC)

I think you need port 80 (http), port 443 (https), port 20 & 21 (ftp), maybe port 22 (ssh). Continue this list with every ports you need.

Link to comment
Share on other sites

Hi DrJägermeister,

 

Thanks for your replying,

 

You said : Simply redirect all needed ports to a specific IP (every request from outside on these ports will be redirected to this PC)

Can you tell me how to do it? i must do it with apache configuration or from the livebox configuration and how?

 

I attached a screenshot

You don't do this on your apache box but on the router. All you have to know is the IP of your webserver and the ports you want. Then you configure this on your router. The configuration is different on router from different manufacturer so read the documentation.

 

P.S: use an old PC (pentium 1 is enough in most cases) that you have a dedicated apache box. If you are putting your main station with all your data in DMZ it's a big security issue.

Link to comment
Share on other sites

the problem is how to know the ip of my webserver?

 

you mean the one by getting : www.whatismyip.com ?

 

ok i get it and now what?

 

I tryed to add the http service on port 80 in router configuration but it didnt work.

 

and btw in lan option i put obtain ip and dns address automaticly

 

I btw, i dont want to make a real host just a server ...

 

And by the way i attached another picture , please see it. and tell me what to put instead Server IP address and if it's the right one.

The ip of your webserver is the IP of the PC on witch is running Apache (I think 192.168.1.10 in your case).

I don't know your wanadoo Livebox (are you in France?), but try this:

Select from list httpd, use port 80, and 192.168.1.10 (or whatever you are using as IP)

 

I btw, i dont want to make a real host just a server ...

If apache is running on your main station and you put this PC in DMZ you have a security issue. It's always safer to use a dedicated apache box.

Edited by DrJägermeister
Link to comment
Share on other sites

there is no httpd, you mean http?

 

Ok i select it , check the picture?

 

Ok but nothing changed still i cant enter my ip ... but localhost and 192.168.1.10 open the server.

 

see the picture is dmz and http right?

 

btw, yes in france

It seems to be OK. Now find out what IP your Freebox have right now (at usual it's not a fix IP but changes every day), call a friend and tell him to put this IP in his browser. He should see your index.html.

If your are using port forwading, don't use DMZ.

Link to comment
Share on other sites

you mean http://www.whatismyip.com ? still not working :unsure:

Yes, that's the IP from your ISP.

Have you delete your PC from DMZ? Use only port forwarding on port 80 and not booth, be sure that you have no sofware firewall installed on your OS.

Edited by DrJägermeister
Link to comment
Share on other sites

 Share

×
×
  • Create New...