Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (19 June 2013 - 02:28 PM) Long Life To Asta New Era
@  agyat : (19 June 2013 - 01:58 PM) New Era Start At Asta Or Asta Start In New Era. :unsure:
@  yordan : (16 June 2013 - 05:41 PM) You're Welcome, Agyat!
@  agyat : (16 June 2013 - 07:38 AM) Thanks Yordan...
@  velma : (16 June 2013 - 12:06 AM) I Have Asked Opa To Check For A Backup.. He'll Let Me Know Soon :)
@  velma : (16 June 2013 - 12:05 AM) T_T It Seems That Someone Has Deleted That Topic Since I Found The Url Of The Topic But It Gives Me An Error
@  yordan : (15 June 2013 - 10:31 PM) @velma : It's A Tuto On How To Create A Login Program.
@  yordan : (15 June 2013 - 10:31 PM) Happy Birthday To Youuuuuu Agyat!
@  yordan : (15 June 2013 - 10:31 PM) Ba$
@  agyat : (15 June 2013 - 04:41 PM) :(
@  agyat : (15 June 2013 - 04:41 PM) Where The Hall I Were? 15Th Is Almost At End And No-One Wished Me "happy Birthday"!!!
@  velma : (14 June 2013 - 10:39 AM) Which Tutorial Is He Searching For?
@  velma : (14 June 2013 - 10:38 AM) Which Tutorial Is He Searching For?
@  yordan : (14 June 2013 - 07:47 AM) Ok, Have A Look Tomorrow.
@  yordan : (13 June 2013 - 03:19 PM) @velma, Can You Have A Look At Feelay's Problem? Seems That His Tutorial Is Not Searchable Today.
@  Feelay : (13 June 2013 - 08:11 AM) Oh, Haha
@  velma : (12 June 2013 - 05:39 PM) T_T Lately My Levels Of Procrastination..... **sigh**
@  velma : (12 June 2013 - 05:38 PM) I'll Do It Later
@  velma : (12 June 2013 - 05:38 PM) Procrastinators.. People Who Keep Saying "i'll Do This In A Bit"
@  Feelay : (12 June 2013 - 02:05 PM) Deal Punishments To What?

Photo
- - - - -

Hosting A Webserver On Your Computer, If You Have A Dynamic Ip


11 replies to this topic

#1 mist

mist

    Newbie [ Level 2 ]

  • Members
  • 12 posts
  • Gender:Male
  • Location:Canada

Posted 18 August 2007 - 05:34 AM

First let me start off by saying that this tutorial is not about how to host a webserver on your computer. That was done quite well by swizzeron. This tutorial has to do with those of you who are interested in hosting a webserver on your computer, but are stuck with a dynamic ip. For those who don't know, a dynamic ip is one that is non-permanent; and thus it changes. This is opposed to static ip address' which are permanent locations on the internet assigned to computers. How did dynamic ips come to be? Well as far as I can tell, they were created to deal with the large amount of internet users. To put it simply, there are too many people using the internet to each get a permanent address. Thus, some ISPs (internet service providers) assign temporary addresses every time you connect.

What does this mean for people who want a webserver but have a dynamic ip? Well, lets see:- it means that people who want to visit your website (including you) will never know which ip address to visit without checking first
- it means that domain redirection services will not work
- overall it means that you have a server which is extremely difficult to access
My solution involves using a program to update a remote server with your IP every time it changes. People who wish to visit your server would do so through the remote server.

For those of you who aren't internet savvy think of it this way: Imagine a city is the world wide web. Each home represents a separate computer and thus, a separate ip address. Mailing a house (visiting the server) would be quite easy; after all you just need their address. However, this particular city has a large amount of mobile homes/rv's which are constantly moving from one site to another (representing changing or dynamic addresses). Mailing a friend who lives in a mobile home would be a problem because it would be hard to tell where they are at any given moment. However, my solution works sort of like a P.O. box. The box represents a permanent building which redirects your "mail" to the appropriate mobile home. This allows you to "mail" them wherever they may be.

If you are not sure if you have a dynamic ip, ask your ISP or visit http://www.whatismyip.com and periodically between network resets. If you have a changing ip address, you have a dynamic ip.

So what is this so-called solution I have? To tell you the truth, it's quite simple really. Lets begin:
  • Make sure you have a working webserver on your computer
  • Visit http://www.no-ip.com/ and sign-up for a free account
  • Once you have gone through the email confirmation process and logged in, click on the downloads tab. Download the appropriate version of No-IP.
  • Click on the first "Your NO-IP" tab and click the "Add" link underneath the "Hosts/Redirects" heading.
  • Setup the configuration for your redirection host. The domain you create here will be the new address to your website.
  • Install the No-IP program you downloaded and login using the account you created.
  • Allow approximately 5-10 mins for an update and then your website is ready to go. It can be accessed from the domain you specified on the site.
There you have it! An easy way to grab a dynamic ip by the horns and ride it. Figuratively of course.

#2 mHelmy

mHelmy

    Member [ Level 1 ]

  • Members
  • 41 posts

Posted 10 November 2007 - 06:11 PM

Dynamic IP is usually given for Dial Up connection, not for dedicated connection.

And a dial up connection is usually slower. Maybe its speed is not enough for your own browsing needs, so it's not wise to run a public server on your computer that can be accessed from world through your dial up connection.

It will only waste your time. Why don't you just host your website on a best quality free hosting astahost.com ? You can use your bandwidth to do something else.

#3 Chesso

Chesso

    Teh Coder

  • Members
  • 1,053 posts
  • Gender:Male
  • Location:Australia
  • Interests:Software Programming, Web Programming, Skateboarding, Gaming and My Fiance!
  • myCENTs:89.25

Posted 14 November 2007 - 12:15 PM

It's not just about that.

Why test on AstaHost and strain your time and servers when you can build everything locally, it's just better in so many ways I won't even get into it.

But you may also want to ask from friends or colleagues to test it out for you and rather than have to upload the changes or whole thing to a web server all the time, you want it setup so they can access straight from where you are working and see instant changes.

#4 Guest_(G)ManovaLL_*

Guest_(G)ManovaLL_*
  • Guests

Posted 24 June 2009 - 12:59 AM

As I know this lesson will not work at 95.95% of the times ... 

because dynamic ip's are given by a modem (as far as I know)  so when you have a dynamic ip that is given by a modem and try to redirect your dynamic ip you will actualy redirect it to the modem and not to your own pc ... /txtmngr/images/smileys/smiley2.Gif so in the case you will have a redirection to your router/modem(etc) control pannel web page ... (this that want's password for entering the modem/router)this is because actualy the dynamic ip is given not to your computer! it is given to your router or your modem ... /txtmngr/images/smileys/smiley11.Gif

-reply by ManovaLL

#5 Guest_(G)Cristian_*

Guest_(G)Cristian_*
  • Guests

Posted 21 June 2010 - 07:15 PM

Very usefullHosting A Webserver On Your Computer, If You Have A Dynamic Ip

Thank you for this solution. I tried many host to find a mysql server that accepts remote connections (I have dynamic ip) .

Now I can use my home pc. /txtmngr/images/smileys/smiley1.Gif

CheersCristian

 



#6 Neten

Neten

    Newbie [ Level 2 ]

  • Members
  • 19 posts

Posted 23 September 2010 - 03:03 PM

i use NO-IP for hosting my ventrilo server. I had no problems with it.

#7 8ennett

8ennett

    Premium Member

  • Members
  • 415 posts
  • Gender:Male
  • Location:UK
  • myCENTs:95.20

Posted 23 September 2010 - 06:46 PM

As I know this lesson will not work at 95.95% of the times ...

because dynamic ip's are given by a modem (as far as I know) so when you have a dynamic ip that is given by a modem and try to redirect your dynamic ip you will actualy redirect it to the modem and not to your own pc ... so in the case you will have a redirection to your router/modem(etc) control pannel web page ... (this that want's password for entering the modem/router)this is because actualy the dynamic ip is given not to your computer! it is given to your router or your modem ...

-reply by ManovaLL


There are many things wrong with that statement that need clarifying. When using a router, the router assigns local network IP addresses. This tend to start with 192.168.xxx.xxx. This IP address will not be available to the world wide web and is only accessible on your local network. These IP addresses can be either static or dynamic depending on how you have configured your network. You can also configure your modem to forward all external connections to an ip on the local network, hence the term ROUTER.

The ISP is what assigns an IP address to your internet connection. Dynamic IP addresses are not usually assigned to Dial-Up connections either as was stated by mHelmy. I have a 50 megabit (5 megabytes per second) connection which still uses a dynamic ip address, which trust me comes in handy. If they ever converted every user to a static IP then I would probably end up switching to a different ISP.

And finally to comment on the tutorial lol
It's very good and clearly written and offers a great method of dns forwarding for dynamic ip holders runnign a server. An alternate method I used to use for my old synchronet server (telnet) was by signing up with DynDNS.com and using their forwarding system. Now I wouldn't have much trouble because my server was constantly connected to the web, however there did come times when the server required a reboot if the OS became unstable or began to lag. If this happened then I would simply visit whatismyip.com, get my new ip quickly and easily and update my DynDNS account in seconds with the new ip address, so routing to the site was immediately updated and corrected. So my static DNS address was bennettbbs.darktech.org (I had a free account with DynDNS) which never changed however my IP was constantly changing.

#8 tansqrx

tansqrx

    Super Member

  • [HOSTED]
  • 759 posts

Posted 23 September 2010 - 10:08 PM

I personally use DynDNS (http://www.dyndns.com/) and get a hostname that can be looked up to find my current IP. I run a DynDNS client on a spare computer that updates when my ISP IP has changed. I know that many consumer routers (Linksys) even support DynDNS updating on the router.

Like the previous poster stated, I have a TeamSpeak server running on the spare computer and I just give all the clients the DynDNS hostname. They never have to change their settings and I never have to work because the update client does all the work.

#9 Neten

Neten

    Newbie [ Level 2 ]

  • Members
  • 19 posts

Posted 23 September 2010 - 10:23 PM

The No-IP client sometimes (raarely) needs you to uncheck and check again to update. just keep that in mind. My ISP is a little unstable so i have to do that ALL the time for fast updates.

#10 manuleka

manuleka

    Way Out Of Control - You need a life :)

  • Members
  • 1,603 posts
  • Gender:Male
  • Location:myComputer
  • myCENTs:41.72

Posted 15 September 2011 - 11:52 PM

Dynamic IP is usually given for Dial Up connection, not for dedicated connection.

And a dial up connection is usually slower. Maybe its speed is not enough for your own browsing needs, so it's not wise to run a public server on your computer that can be accessed from world through your dial up connection.

It will only waste your time. Why don't you just host your website on a best quality free hosting astahost.com ? You can use your bandwidth to do something else.


actually some (if not a lot) ISPs run their services with Dynamic IP addresses, then provide Static IP address services by purchase/request

i know here in New Zealand Telstra provides Static IP where as Telecom has a pool of IP address which gets allocated upon modem/router connection to their network... once you reset your modem (which i do often) a new IP is provided

#11 yordan

yordan

    Way Out Of Control - You need a life :)

  • [MODERATOR]
  • 4,681 posts

Posted 19 September 2011 - 06:46 PM

actually some (if not a lot) ISPs run their services with Dynamic IP addresses, then provide Static IP address services by purchase/request

The aim of this topic is precisely to show how to use Dynamic IP address with static names, like no-ip does.
A small service runs on your PC, which communicates with the the server, and when people want to reach your fixed DNS name they reach your PC. When your IP changes, no problem, the client program tells the server that the address changed, and everything works fine again.

#12 manuleka

manuleka

    Way Out Of Control - You need a life :)

  • Members
  • 1,603 posts
  • Gender:Male
  • Location:myComputer
  • myCENTs:41.72

Posted 20 September 2011 - 02:17 AM

cheers for clarifying that yordan... this is quite handy for those who get's dynamic ip like me with my ISP... everytime i restart my modem i get allocated a new IP



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users