setting up WEB SERVER??

Status
Not open for further replies.

pathfinder13

Beginner
hello friends
i am new to dis community

i am trying to build up a website using APACHE web server 2.0
i am using airtel's broadband sevice with a Beetel wifi 440TX1 modem

the problem is that whenever i open my IP (which is dynamic) everytime i get to the Router's Main Page (asking for Id and PASS)

can any one suggest what shud i do so that the front page (index page) of my website opens up when i write my dynamic IP in my web browser..(i use Mozilla firfeox 2.0) instead of the routers mainpage...



when i do the same thing from any of my workgroup computers (i.e. opening up my computer's INTERNAL IP in the web browser (like 192.168.1.2) it works fine and the main page of the website opens up)


i hope i get the answer to my query i have been searching so long

thanks friends..
 
Depending on your router brand, you need to change specific settings of your router, so that it forwards any hits to your External IP to the specific internal IP of the computer on which your webserver is hosted.
 
thebanik said:
Depending on your router brand, you need to change specific settings of your router, so that it forwards any hits to your External IP to the specific internal IP of the computer on which your webserver is hosted.

hi there
i have already forwarded the port 80 (of web server) in my router and firewall.
Also when i probed for the port from - https://www.grc.com/x/portprobe=80

it says that the port is open and accepting connections..

what shud i do now

NOTE:: when i open the web browser and type my internal ip (i.e 192.168.1.3)
the web server's page opens up correctly but when i try to do it from my external ip (i.e the WAN ip say: 122.162.58.65, it takes me to the routers main page)
 
i have forwarded the port 80

but i also have the custom port forward option

plz guide me what shud i put it the blanks for the proper redirection from my WAN ip(external) to the LAN ip(internal)

 
Application can be anything, thats for your reference.

Protocol - Create this page and then do it again with the same settings for UDP

Source IP - Lleave it blank

Source NetMask - 255.255.255.255

Destination Port Start/End/Map : 80(in all)

hope this helps!!!
 
thebanik said:
Depending on your router brand, you need to change specific settings of your router, so that it forwards any hits to your External IP to the specific internal IP of the computer on which your webserver is hosted.
The first problem you have to solve is the Dynamic IP you are being allocated, your DNS needs to be informed of the ever changing IP Address for clients to access from the net. After that the above should be implemented.

Try these links to learn more.

Free Dynamic and Static DNS (Domain Name Services) Nameservers (thefreecountry.com)

How to use Dynamic DNS wit a Cable Modem Internet Access

or read some more here

using dynamic IP for web server - Google Search

Its fairly simple, and you reading up is far easier then someone trying to explain. Get back with any questions you may have.

Cheers :hap2:
 
If you are not going to access your Router's Administration page remotely then you should disable the remote web administration feature on your router.

OR change your remote administration's port # to 8080 or other than 80 .

Now add the port forwarding rule in your router .

and it should work .

and as TheIndian mentioned . use any free DNS . so it would be easy to remember address.
 
Port Forward
I think ^^^ is what you need to check
it shud be fairly straight forward.

if it still prompts for you router page instead of web server, then your router requires additional steps for disabling remote admin.
 
it is quite obvious tht before router forward port # 80 to its lan client . it will check up the router's remote admin settings . if it is disabled then it will simply forward to lan client . if not it will respond to the request .
 
Yes, very good everyone. Teach him how to hack his Beetel modem provided by low life Airtel and port forward that shit to his website so that everyone can check out his connection. ;D You do realise that everything you're teaching him could possibly lead to... well never mind.

Dude, do yourself a favour and get VertigoServ. Just see what it's all about on Sourceforge, run it and check it out, it's pretty good for beginners. Experts resort to it as well after they get bugged of using their brains and modding Apache. :P
 

@ Yamaraj
@ cisco_tech
@ avtar
@ shotgun
@ the indian
@ thebanik

Thank you guys :hap2:

well, the remote login feature was already disabled in the configuration page
and as far the dynamic ip is concerned i already have arranged for it through dynamic ip configuration softwares which map dynamic ip to domain names(though it is useful only if the current dyanmic ip works)
even though i am not ablt to configure how will i use my computer as a web sever, but m happy to see so many people attending to my query and helping...


thanks again guys.:)


but the problem remains the same..:(
 
pathfinder13 said:

@ Yamaraj
@ cisco_tech
@ avtar
@ shotgun
@ the indian
@ thebanik

Thank you guys :hap2:

well, the remote login feature was already disabled in the configuration page
and as far the dynamic ip is concerned i already have arranged for it through dynamic ip configuration softwares which map dynamic ip to domain names(though it is useful only if the current dyanmic ip works)
even though i am not ablt to configure how will i use my computer as a web sever, but m happy to see so many people attending to my query and helping...


thanks again guys.:)


but the problem remains the same..:(

Read my post and you'll see how to use your computer as a web server n00blar. :P
 
I've seen you say 2 different internal IP addresses. If you have a dynamic internal IP I'd suggest setting it to static. You can either do that by setting it via your PC or have your router always have your server's MAC address be assigned to a specific IP. If you don't have a static internal IP forwarding would need to be changed every time your server got a new internal.

Also, if you're super desperate, see if your router lets you set up DMZ and point it to your server's internal IP. =P
 
do that by setting it via your PC or have your router always have your server's MAC address be assigned to a specific IP

This is probably the way for you to go... it leads to a consistent internal ip address.

Also, if you're super desperate, see if your router lets you set up DMZ and point it to your server's internal IP

Although good in theory.. it is also not very secure and is less than ideal for security purposes unless you have good security on the server itself.

This just came up in another thread, but I think the best way to go is to setup a "LAMP" system. This mean Linux - Apache - mysql - php.

Although this may sound very daunting it is actually quite easy and a lot more secure than microcrap.

if you are using xp, it should be a pretty simple matter to set aside some hard drive space for a Linux partition, and a dual boot.

There is a triple boot tutorial that I put up in guides section... just modify this for a dual boot and forget the steps that involve extra share partition (unless you want one) hiding xp or installing vista and it should work just fine...

Next LAMP ... pretty easy as Ubuntu server comes with a LAMP installation option right out of the box... I quote....

"Don’t scramble over what software you need to setup a webserver. The Ubuntu Server edition, during installation, offers the LAMP software package option. Installing this will automatically have a complete Apache system up and running in no time. The server will be complete with Mysql database support, and PHP dynamic website capabilities"

Just install Ubuntu server (latest version of course)and select LAMP installation and it will install all needed software.

lastly if you are getting the routers page when you try to navigate to the server, you are probably not port-forwarding properly.

You can also try adding dynamic dns service.. there are many free ones

.

DynDNS -- Free Dynamic DNS (DDNS) Service

Free Dynamic and Static DNS (Domain Name Services) Nameservers (thefreecountry.com)
 
PiXeLpUsHeR said:
This is probably the way for you to go... it leads to a consistent internal ip address.

Although good in theory.. it is also not very secure and is less than ideal for security purposes unless you have good security on the server itself.
This just came up in another thread, but I think the best way to go is to setup a "LAMP" system. This mean Linux - Apache - mysql - php.
Although this may sound very daunting it is actually quite easy and a lot more secure than microcrap.

if you are using xp, it should be a pretty simple matter to set aside some hard drive space for a Linux partition, and a dual boot.

There is a triple boot tutorial that I put up in guides section... just modify this for a dual boot and forget the steps that involve extra share partition (unless you want one) hiding xp or installing vista and it should work just fine...

Next LAMP ... pretty easy as Ubuntu server comes with a LAMP installation option right out of the box... I quote....

"Don’t scramble over what software you need to setup a webserver. The Ubuntu Server edition, during installation, offers the LAMP software package option. Installing this will automatically have a complete Apache system up and running in no time. The server will be complete with Mysql database support, and PHP dynamic website capabilities"

Just install Ubuntu server (latest version of course)and select LAMP installation and it will install all needed software.

lastly if you are getting the routers page when you try to navigate to the server, you are probably not port-forwarding properly.

You can also try adding dynamic dns service.. there are many free ones
.
DynDNS -- Free Dynamic DNS (DDNS) Service

Free Dynamic and Static DNS (Domain Name Services) Nameservers (thefreecountry.com)

That's why I said desperate for DMZ. As for LAMP.. Seems as if the web server is running correctly and that it's just an issue with the router/network setup. I like the checking to see if remote router administration is enabled and if it uses port 80. If so that would probably be the main cause of the issue, if not my guess is that there's something wrong with the forwarding setup.
 
Status
Not open for further replies.