India Broadband Forum


setting up web server using static IP

This is a discussion on setting up web server using static IP within the BSNL broadband forums, part of the Broadband Internet Service Providers category; Hi all, My company have static IP from BSNL. And I want to set up a web server by using ...

Go Back   India Broadband Forum > Indian Broadband Forums > Broadband Internet Service Providers > BSNL broadband

India Broadband Forum


BSNL broadband Bsnl broadband internet connection and modems, routers and other bsnl dataone related issues can be discussed here.

                      

Reply

 

LinkBack Thread Tools Display Modes
Old 02-25-08, 03:44 PM   #1
Junior Member
 
Join Date: Feb 2008
Posts: 2
Rep Power: 0
sirfamol85 is on a distinguished road
Default setting up web server using static IP

Hi all,
My company have static IP from BSNL. And I want to set up a web server by using this IP. I have SmartAX MT880 , and my connection type is PPPoE and WAN type is PPP.
Also I have activated HTTP vitual server on port 80.
as

Virtual Server HTTP 192.168.1.2

my web site on 192.168.1.2

I am using IIS, with no configuration...is any configuration required for?

Can any one help me.

Thanks
sirfamol85 is offline   Reply With Quote
Old 02-25-08, 05:24 PM   #2
Platinum Member
 
Join Date: Feb 2008
Posts: 2,692
Rep Power: 5
superprash2003 will become famous soon enoughsuperprash2003 will become famous soon enough
Default

the 192.168.1.2 wont work if somebody outside your network tries to connect...Go to Find My IP Address - Lookup , it will give you ur external ip.. this is what you use to access your website from outside.. if you dont want to remember the ip address.. you can get a domain name.. there are ones available for free and ones for which you can pay...check out No-IP - Dynamic DNS, Static DNS for Your Dynamic IP
superprash2003 is offline   Reply With Quote
Old 02-26-08, 11:36 AM   #3
Junior Member
 
Join Date: Feb 2008
Posts: 2
Rep Power: 0
sirfamol85 is on a distinguished road
Smile The solution

Hi,
you can set the web server by using your static IP as
1. Go to router control panel using your static IP address
[ my router SmartAX MT880]
http://<yourstaticIP>//
you will see login screen enter user name and password for.
2. Now go in advance tab->virtual settings
3. Enable HTTP virtual server on any port number [other that 80]
in this tab the private IP is a IP of your machine in the network where web server is running like 192.168.1.x
4. Go in your web server [ISS,abyss,Apache] and change the its port to same what you given above.
5. This web will not be visible from your home network.but outside world can see the web using url
http://<staticIP>/<ApplicationName>/page.aspx
sirfamol85 is offline   Reply With Quote
Old 05-27-08, 06:41 PM   #4
Junior Member
 
Join Date: May 2008
Posts: 10
Rep Power: 2
rajdeeps is on a distinguished road
Default Need Help

Hi All,

I am using Tata Indicom's Broadband Connection coming with Static IP with "TELENET TNDSL 2120" Router And I also want to configure web server for my company.

I have tried the Solution of "sirfamol85" but it wouldn't worked for me. Is it there is something different in TELENET TNDSL 2120 Router. I am having the same req. as of sirfamol.
rajdeeps is offline   Reply With Quote
Old 05-27-08, 06:44 PM   #5
Platinum Member
 
Join Date: Feb 2008
Posts: 2,692
Rep Power: 5
superprash2003 will become famous soon enoughsuperprash2003 will become famous soon enough
Default

could you post a screenshot of your modem's configuration page??
superprash2003 is offline   Reply With Quote
Old 05-27-08, 06:52 PM   #6
Junior Member
 
Join Date: May 2008
Posts: 10
Rep Power: 2
rajdeeps is on a distinguished road
Default

You mean my n/w configuration?NwConfig.JPG
rajdeeps is offline   Reply With Quote
Old 05-27-08, 07:01 PM   #7
Junior Member
 
Join Date: May 2008
Posts: 10
Rep Power: 2
rajdeeps is on a distinguished road
Default

or would you need my router conf. which I have done earlier for Virtual Server?

telenet.JPG
rajdeeps is offline   Reply With Quote
Old 05-28-08, 12:38 PM   #8
Gold Member
 
skap's Avatar
 
Join Date: May 2008
Location: India
Posts: 531
Rep Power: 2
skap will become famous soon enough
Default

rajdeeps -
Your settings seem to be correct. If you are using firewall, did you check whether port 80 traffic (http) is allowed?
Is your webserver working locally by running http://192.168.1.5 in your browser?

You have to use the exact url path that you use to access locally, just need to change the IP from 192.168.1.5 to Public IP. This will work only from other systems outside your network (internet connection). Dont check within your network, it will not work.
skap is offline   Reply With Quote
Old 05-28-08, 02:13 PM   #9
Junior Member
 
Join Date: May 2008
Posts: 10
Rep Power: 2
rajdeeps is on a distinguished road
Default

skap,

Thanks for your reply.

I have checked my web server http://192.168.1.5 with this url in my local LAN it worked fine. But when trying to access it from outside (means on internet) by my static ip it wouldn't worked.

I have set my firewall to OFF.

I have assigned my IIS web server port to 8080.

can you help me where I am actually messing with in my Router config or in my web server (IIS) config ?

Regards,

Rajdeep
rajdeeps is offline   Reply With Quote
Old 05-28-08, 03:05 PM   #10
Gold Member
 
gardencityboy's Avatar
 
Join Date: Mar 2008
Location: Bangalore
Posts: 516
Rep Power: 2
gardencityboy is on a distinguished road
Default

i have one question

Is there a difference between static ip and public ip
i believe we can get a static IP from ISP like sify etc

BSNL gives static IP on request but are these public IP?

If you don't have a public ip then as far as i know you cannot use it to host the web server

Also have you taught about the bandwidth required

Web servers require very high upload and very low download
In ADSL were the upload is very low when compared to download as generally home users are downloading more than uploading, for example a home user will send request for a website and the website will be downloaded so we need more bandwidth for download and low for upload

were as in a web server it will download the request which requires low download and lot of upload bandwidth as the complete website has to be sent

Do you think that a ADSL will be able to handle this?

Also can you confirm if the IP is public ip provided by BSNL?
gardencityboy is offline   Reply With Quote
Old 05-28-08, 03:16 PM   #11
Gold Member
 
gardencityboy's Avatar
 
Join Date: Mar 2008
Location: Bangalore
Posts: 516
Rep Power: 2
gardencityboy is on a distinguished road
Default

Just FYI

What Are Private And Public IP Addresses?
A computer on the Internet is identified by its IP address. In order to avoid address conflicts, IP addresses are publicly registered with the Network Information Centre (NIC). Computers on private TCP/IP LANs however do not need public addresses, since they do not need to be accessed by the public. For this reason, the NIC has reserved certain addresses that will never be registered publicly. These are known as private IP addresses, and are found in the following ranges:
From 10.0.0.0 to 10.255.255.255
From 172.16.0.0 to 172.31.255.255
From 192.168.0.0 to 192.168.255.255
gardencityboy is offline   Reply With Quote
Old 05-28-08, 03:36 PM   #12
Junior Member
 
Join Date: May 2008
Posts: 10
Rep Power: 2
rajdeeps is on a distinguished road
Default

gardencityboy,

Thanks for your valuable info.

actually my static ip starts with 121.247.##.## (it is not in any private ip range.)

And we will going to use this web server only for development purposes. Not for publicly exposed websites.So we don't require much bandwidth requirement.

& I am using Tata Indicom's Broadband Connection (1 Mbps unlimited[up/down] plan) coming with Static IP with "TELENET TNDSL 2120" Router. I think it is enough for hosting my web server.

But I will check from my ISP if there is any public IP required other than my static IP..

Thanks.
rajdeeps is offline   Reply With Quote
Old 05-28-08, 04:08 PM   #13
Gold Member
 
gardencityboy's Avatar
 
Join Date: Mar 2008
Location: Bangalore
Posts: 516
Rep Power: 2
gardencityboy is on a distinguished road
Default

I think that this might not be a public IP
though it is not in the range as mentioned in my previous post

I am using Reliance wimax connection and my IP generally is starting with 127.XXX.XXX.XX this is also not in the range mentioned but i am sure that this is not a public IP

which means that i cannot host anything using this IP

might be the same case with yours
gardencityboy is offline   Reply With Quote
Old 05-28-08, 09:19 PM   #14
Gold Member
 
skap's Avatar
 
Join Date: May 2008
Location: India
Posts: 531
Rep Power: 2
skap will become famous soon enough
Default

Quote:
Originally Posted by gardencityboy View Post
i have one question

Is there a difference between static ip and public ip
i believe we can get a static IP from ISP like sify etc
Static IP is entirely different concept from Public IP. You have to compare Static IP with Dynamic IP and Public IP with Private IP

When you are connected to internet, you will be assigned a Public IP either to your computer or router or modem, depending upon your home network setup. All your internet traffic (whether you are surfing web pages or downloading) you will be accessing through that Public IP. This assigning of Public IP can be either static or dynamic. Static Public IP means you got a constant non chaning IP from your service provider and configured manually to your device. Whereas Dynamic Public IP is one which service provider will assign different Public IP to your deivce, each time you switch ON to connect after disconnecting internet.


Quote:
BSNL gives static IP on request but are these public IP?
it means BSNL has given Static Public IP


Quote:
Web servers require very high upload and very low download
In ADSL were the upload is very low when compared to download as generally home users are downloading more than uploading, for example a home user will send request for a website and the website will be downloaded so we need more bandwidth for download and low for upload

were as in a web server it will download the request which requires low download and lot of upload bandwidth as the complete website has to be sent
When you are hosting Webserver, you need high download bandwidth not high upload bandwidth because other users in internet need to download webpages from your webserver so ultimately it requires high download bandwidth
skap is offline   Reply With Quote
Old 05-28-08, 09:29 PM   #15
Gold Member
 
skap's Avatar
 
Join Date: May 2008
Location: India
Posts: 531
Rep Power: 2
skap will become famous soon enough
Default

Quote:
Originally Posted by rajdeeps View Post
skap,

Thanks for your reply.

I have checked my web server http://192.168.1.5 with this url in my local LAN it worked fine. But when trying to access it from outside (means on internet) by my static ip it wouldn't worked.

I have set my firewall to OFF.

I have assigned my IIS web server port to 8080.

can you help me where I am actually messing with in my Router config or in my web server (IIS) config ?

Regards,

Rajdeep

Rajdeep -

The problem is that your router is already running a service on that port 80.
Change both IIS Web Server Port and Virutal Server Port in router to 8080.

After you changed the ports, try by http://<static_ip>:8080 from internet (e.g http://124.10.1.5:8080). Note the colon and port no, you must need to mention them

check and let us know
skap is offline   Reply With Quote
Old 05-28-08, 09:56 PM   #16
Gold Member
 
skap's Avatar
 
Join Date: May 2008
Location: India
Posts: 531
Rep Power: 2
skap will become famous soon enough
Default

Quote:
Originally Posted by gardencityboy View Post
I think that this might not be a public IP
though it is not in the range as mentioned in my previous post

I am using Reliance wimax connection and my IP generally is starting with 127.XXX.XXX.XX this is also not in the range mentioned but i am sure that this is not a public IP

which means that i cannot host anything using this IP

might be the same case with yours
gardencityboy - the ranges which you have mentioned in your post are Private network ranges and not Public network ranges.

The IP which rajdeeps mentioned (121.247.##.## ) is a Public IP only and also yours (127.x.x.x) is also a Public IP range.

Without Public IP, you cannot connect to internet.
skap is offline   Reply With Quote
Old 05-28-08, 11:25 PM   #17
Junior Member
 
Join Date: May 2008
Posts: 10
Rep Power: 2
rajdeeps is on a distinguished road
Default Afterall my web server accessible from internet :)

Thank you skap your solution worked for me. & Thanks for all who have replied to my post.

Below is the screen shot of my configuration.



Below are steps to do.

1) Create Virtual Server in Router with

External Port:80

Internal Port:8080 (or whatever you assigned to ur server in my case 8080 for IIS)

Server IP Address: 192.168.1.5 (in my case)

2) Assign this internal port 8080 to your server


I am now able access my web server from internet by my ip http://121.247.##.##/mypage.aspx





successfulconfiguration.JPG
rajdeeps is offline   Reply With Quote
Old 05-29-08, 07:58 AM   #18
Gold Member
 
skap's Avatar
 
Join Date: May 2008
Location: India
Posts: 531
Rep Power: 2
skap will become famous soon enough
Default

Great!

But take all recommendations to secure your network. Because Port 80 is one of the most targetted port by hackers. And i think you must be having Win XP which has IIS 5.1 which is not at all secured by default. You need to workout on recommended security list for this. So if you dont need Webserver access from internet, better switchoff this in router and enable only when it is required.
skap is offline   Reply With Quote
Old 05-29-08, 03:05 PM   #19
Gold Member
 
gardencityboy's Avatar
 
Join Date: Mar 2008
Location: Bangalore
Posts: 516
Rep Power: 2
gardencityboy is on a distinguished road
Default

Quote:
Originally Posted by skap View Post
Static IP is entirely different concept from Public IP. You have to compare Static IP with Dynamic IP and Public IP with Private IP

When you are connected to internet, you will be assigned a Public IP either to your computer or router or modem, depending upon your home network setup. All your internet traffic (whether you are surfing web pages or downloading) you will be accessing through that Public IP. This assigning of Public IP can be either static or dynamic. Static Public IP means you got a constant non chaning IP from your service provider and configured manually to your device. Whereas Dynamic Public IP is one which service provider will assign different Public IP to your deivce, each time you switch ON to connect after disconnecting internet.




it means BSNL has given Static Public IP




When you are hosting Webserver, you need high download bandwidth not high upload bandwidth because other users in internet need to download webpages from your webserver so ultimately it requires high download bandwidth
SKAP
I don't agree with you on the last point
Web servers don't need high download bandwidth they need high upload bandwidth

This is because when some one is viewing your web page he is download your web page for him to download you need to sent his the web page via HTTP protocol and thus you need more upload as you are sending the web page


For all web server they need very high upload bandwidth and lower download bandwidth
gardencityboy is offline   Reply With Quote
Old 05-29-08, 06:18 PM   #20
Gold Member
 
skap's Avatar
 
Join Date: May 2008
Location: India
Posts: 531
Rep Power: 2
skap will become famous soon enough
Default

gardencityboy -

Thanks for pinpointing. It requires high upload bandwidth only for transmitting web pages..I was little confused. Thanks man.
skap is offline   Reply With Quote
Reply

Tags
server, setting, static, web

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Static IP Setting BSNL jitulko BSNL broadband 22 07-14-09 05:14 PM
GRISOFT Unveils New AVG Small Business Server Internet Security Products Guest Software News, Previews and Reviews 1 04-30-08 12:16 PM
setting up a web server in India nareshvaid Web hosting 5 02-06-08 01:50 PM
Sonasoft Announces New Version of its Recovery Solution for Microsoft Exchange Server India Broadband PR Releases Database 0 07-17-06 01:55 AM
Open-Xchange Server Wins “Best Open Source Solution” Award At LinuxWorld Conference & India Broadband Internet PR Releases Database 0 04-09-06 05:03 PM


All times are GMT +5.5. The time now is 02:04 PM.


India Broadband Forum