Page 1 of 2 12 LastLast
Results 1 to 25 of 34

Thread: setting up web server using static IP

  1. #1
    Junior Member
    Join Date
    Feb 2008
    Liked
    0 times
    Posts
    2

    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

  2. #2
    Platinum Member
    Join Date
    Feb 2008
    Liked
    0 times
    Posts
    2,766

    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

  3. #3
    Junior Member
    Join Date
    Feb 2008
    Liked
    0 times
    Posts
    2

    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

  4. #4
    Junior Member
    Join Date
    May 2008
    Liked
    0 times
    Posts
    14

    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.

  5. #5
    Platinum Member
    Join Date
    Feb 2008
    Liked
    0 times
    Posts
    2,766

    Default

    could you post a screenshot of your modem's configuration page??

  6. #6
    Junior Member
    Join Date
    May 2008
    Liked
    0 times
    Posts
    14

    Default

    You mean my n/w configuration?NwConfig.JPG

  7. #7
    Junior Member
    Join Date
    May 2008
    Liked
    0 times
    Posts
    14

    Default

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

    telenet.JPG

  8. #8
    Gold Member
    Join Date
    May 2008
    Liked
    0 times
    Posts
    531

    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.

  9. #9
    Junior Member
    Join Date
    May 2008
    Liked
    0 times
    Posts
    14

    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

  10. #10
    Gold Member
    Join Date
    Mar 2008
    Liked
    0 times
    Posts
    518

    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?

  11. #11
    Gold Member
    Join Date
    Mar 2008
    Liked
    0 times
    Posts
    518

    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

  12. #12
    Junior Member
    Join Date
    May 2008
    Liked
    0 times
    Posts
    14

    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.

  13. #13
    Gold Member
    Join Date
    Mar 2008
    Liked
    0 times
    Posts
    518

    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

  14. #14
    Gold Member
    Join Date
    May 2008
    Liked
    0 times
    Posts
    531

    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.


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


    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

  15. #15
    Gold Member
    Join Date
    May 2008
    Liked
    0 times
    Posts
    531

    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

  16. #16
    Gold Member
    Join Date
    May 2008
    Liked
    0 times
    Posts
    531

    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.

  17. #17
    Junior Member
    Join Date
    May 2008
    Liked
    0 times
    Posts
    14

    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

  18. #18
    Gold Member
    Join Date
    May 2008
    Liked
    0 times
    Posts
    531

    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.

  19. #19
    Gold Member
    Join Date
    Mar 2008
    Liked
    0 times
    Posts
    518

    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

  20. #20
    Gold Member
    Join Date
    May 2008
    Liked
    0 times
    Posts
    531

    Default

    gardencityboy -

    Thanks for pinpointing. It requires high upload bandwidth only for transmitting web pages..I was little confused. Thanks man.

  21. #21
    Junior Member
    Join Date
    Mar 2010
    Liked
    0 times
    Posts
    6

    Default

    hello all

    I tried all the steps still I'm not able to access my site from my wanip.

    I saw the pic which rajdeeps attached here, but my router does not have any external or internal port.

    It simply asks for starting port and end port, which I set to 80 and 8080 for my internal ip viz 192.168.1.9

    I set my apache to listen both 80 and 8080, but still not able to access that.

    The problem I'm facing is mainly when ever I'm trying to access my webserver by using my wapin then it is not forwarding instead it is showing the login interface.

    how can I get rid of that ?

  22. #22
    LEARNER
    Join Date
    Aug 2007
    Liked
    20 times
    Posts
    15,291

    Default

    Mention your modem/router model/make/number.
    Whether on "Dialer" mode or "Always On" mode.

    or you trying to access the webserver from your own system/modem ?
    Say I want to access it /
    what is the Ip address ?
    192.168.1.9 will not work for me.
    Have you used DDNS option ?

  23. #23
    Junior Member
    Join Date
    Mar 2010
    Liked
    0 times
    Posts
    6

    Default

    my router model is Sterlite SAM300. and is always on mode.

    And yeah I tried the DDNS options too with dyndns, but still not able to access.

    The problem is that if I'm trying to access with my wan-ip, then I'm getting the login box always. I dunno how to get rid of this problem.

  24. #24
    LEARNER
    Join Date
    Aug 2007
    Liked
    20 times
    Posts
    15,291

    Default

    try LAN1 and LAN4 ports.
    ( Instruction by MTNL Delhi )
    http://mtnldelhi.in/services/con_s.doc

    Also have you tried from a different BB connection/location? say from an Internet Cafe ?

  25. #25
    Junior Member
    Join Date
    May 2008
    Liked
    0 times
    Posts
    14

    Default

    From where you are trying to access your site? i mean from your LAN or outside of your network?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to Assign Static IP to System
    By Mrugesh in forum BSNL broadband
    Replies: 17
    Last Post: 09-26-10, 08:54 PM
  2. How Proxy Server Works???
    By gaggan4392 in forum Broadband How to
    Replies: 11
    Last Post: 04-17-10, 08:41 PM
  3. Choosing the best & fastest DNS server for oneself & summary of dns
    By Luke Skywalker in forum Broadband How to
    Replies: 4
    Last Post: 02-21-10, 07:38 AM
  4. Next version of Microsoft SQL Server under development
    By meetdilip in forum Software News, Previews and Reviews
    Replies: 0
    Last Post: 02-15-10, 11:16 PM
  5. Anybody knows information about satellite setting
    By drpradeepmm in forum Videocon DTH
    Replies: 1
    Last Post: 02-04-10, 09:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •