Quantcast

Forums | MacLife

You are not logged in.

#1 2005-10-29 4:06 pm

savant
Member
Registered: 2005-10-29
Posts: 5

Anyone hosting at home-without a static IP?

How'd ya do it?
I'm trying to personal web share with Tiger without having to pay $$ for static IP.

Offline

 

#2 2005-10-29 4:20 pm

Gipetto
Yankee Doodle's noodle
Royal Wombat
From: People! Ahg!!
Registered: 2000-09-24
Posts: 9941
Website

Re: Anyone hosting at home-without a static IP?

I do it.

I started off with using dyndns.org for my domain name - then I moved over to www.zoneedit.com so I could use a domain name with it.

If you have more than one computer on your network you'll need a router that does port forwarding and address reservation so that a) the requests on port 80 only go to your webserver and b) that the webserver is always at the same address.

Offline

 

#3 2005-10-29 4:59 pm

Macskeeball
Member
Registered: 2002-02-07
Posts: 8014
Website

Re: Anyone hosting at home-without a static IP?

I do it too, using www.no-ip.com

The basic idea of dynamic DNS services is that software on your computer routinely communicates, at a set interval, with the server of the dynamic DNS service provider. When the two are in sync, your server can then be accessed from a non-changing, plain-English URL.


tech writer for hire

Offline

 

#4 2005-10-30 12:46 am

cosmicosmo
Chancellor Mmmm
From: Peninsula, Ohio, US of A
Registered: 2003-02-06
Posts: 237
Website

Re: Anyone hosting at home-without a static IP?

I do it with the dyndns.org.  It works quite fine.  There are lots of those services available for free. 

-Set up your account with whichever service you choose, giving them your current IP.  Choose your web address, probably a subdomain of one of several domains they have.  Don't necessarily choose the shorter one; I made that mistake, choosing .ath.cx, and am now stuck with it.  Few people can remember it.

-Set up your router to forward port 80 from your web server (and other ports for any other sort of server).  Can be tricky with some routers, and you've got to make sure it always points to your server rather than a specific randomly given ip.  You can even use an 802.11x router (I do).

-Run your server.  You should be able to access it then.  You may want to put the new web address into your httpd.conf.


I hate your wimper

Offline

 

#5 2005-11-01 8:01 am

EricP
BandFan
From: Seattle WA
Registered: 2003-09-21
Posts: 327
Website

Re: Anyone hosting at home-without a static IP?

Get a Linksys WRT54G, and get an account with dyndns.org. You can then set the Linksys to AUTOMATICALLY update your dynamic IP when it changes. You'll never have to do a thing. It's so simple.

This may be an option on other routers, but I don't know.

EDIT: If you want to use a domain name with it: Use your registrar's forwarding feature (seems like they all have it) to forward yourdomain.com to yourdomain.dyndns.org. Since your router is updating your IP automatically, yourdomain.dyndns.org will always point to your computer.

Last edited by EricP (2005-11-01 8:05 am)

Offline

 

#6 2005-11-01 1:50 pm

Gipetto
Yankee Doodle's noodle
Royal Wombat
From: People! Ahg!!
Registered: 2000-09-24
Posts: 9941
Website

Re: Anyone hosting at home-without a static IP?

If you want to use a domain name use www.zoneedit.com and ddclient.

Offline

 

#7 2005-11-01 6:17 pm

EricP
BandFan
From: Seattle WA
Registered: 2003-09-21
Posts: 327
Website

Re: Anyone hosting at home-without a static IP?

INSTALLATION:

  cp ddclient /usr/sbin/
  mkdir /etc/ddclient
  cp sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
  vi /etc/ddclient/ddclient.conf
  -- and change hostnames, logins, and passwords appropriately

  ## For those using Redhat style rc files and using daemon-mode:
  cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
  ## enable automatic startup when booting
  /sbin/chkconfig --add ddclient
  ## start the first time by hand
  /etc/rc.d/init.d/ddclient start

  ## If you are not using daemon-mode, configure cron and dhcp or ppp
  ## as described below.

Offline

 

#8 2005-11-07 9:51 pm

tpark
The Legend
From: Earth
Registered: 2004-10-05
Posts: 171
Website

Re: Anyone hosting at home-without a static IP?

EricP wrote:

INSTALLATION:

  cp ddclient /usr/sbin/
  mkdir /etc/ddclient
  cp sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
  vi /etc/ddclient/ddclient.conf
  -- and change hostnames, logins, and passwords appropriately

  ## For those using Redhat style rc files and using daemon-mode:
  cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
  ## enable automatic startup when booting
  /sbin/chkconfig --add ddclient
  ## start the first time by hand
  /etc/rc.d/init.d/ddclient start

  ## If you are not using daemon-mode, configure cron and dhcp or ppp
  ## as described below.

As Gippy said, ZoneEdit + ddclient is the best way. But, I'm not too up for all these installation command lines. I'm a Gentoo user and proud to be spoiled.

Code:

emerge ddclient && /etc/init.d/ddclient start && rc-update add ddclient default

nominoc - nominoc.com

Offline

 

#9 2005-11-08 11:39 am

hawaiian717
Mac Addict
From: san diego
Registered: 2004-06-08
Posts: 1134
Website

Re: Anyone hosting at home-without a static IP?

I do it with DNSexit, which lets me do Dynamic DNS with my own domain name.  I have the domain registered separately with GoDaddy, and set the DNS servers there to the DNSexit servers.  DNSexit provides a simple Perl script that I placed on the web server (Gentoo Linux in my case), and then setup with a cron job to run hourly.  The script checks my external IP address, and if it's changed, sends an update to DNSexit.

You should be able to configure your server with a static IP address even if the router is set to assign IP addresses via DHCP.  Just make sure its part of the same subnet.  My router (Motorola WR850G) lets me specify the range of dynamic IPs, so I start those at x.x.x.50 and reserve the addresses below that for static IPs.  If you can't do that, just set it to a high static IP address (like x.x.x.240).  My router is capable of automatically updating, but only to a DynDNS and ChangeIP, as far as I can tell.

Offline

 

#10 2005-11-08 2:50 pm

Basseq
Fixxy of F&S fame
From: D.C.
Registered: 2002-12-18
Posts: 3125
Website

Re: Anyone hosting at home-without a static IP?

I'd like to DNSex your avatar.


Basseq is me, John Whittet.
(Finishing the remainder of the thought expressed in the post has been left as an exercise for the reader.)

Offline

 

#11 2005-11-09 11:55 am

Gipetto
Yankee Doodle's noodle
Royal Wombat
From: People! Ahg!!
Registered: 2000-09-24
Posts: 9941
Website

Re: Anyone hosting at home-without a static IP?

tpark wrote:

EricP wrote:

INSTALLATION:

  cp ddclient /usr/sbin/
  mkdir /etc/ddclient
  cp sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
  vi /etc/ddclient/ddclient.conf
  -- and change hostnames, logins, and passwords appropriately

  ## For those using Redhat style rc files and using daemon-mode:
  cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
  ## enable automatic startup when booting
  /sbin/chkconfig --add ddclient
  ## start the first time by hand
  /etc/rc.d/init.d/ddclient start

  ## If you are not using daemon-mode, configure cron and dhcp or ppp
  ## as described below.

As Gippy said, ZoneEdit + ddclient is the best way. But, I'm not too up for all these installation command lines. I'm a Gentoo user and proud to be spoiled.

Code:

emerge ddclient && /etc/init.d/ddclient start && rc-update add ddclient default

ddclient is also available via Fink and DarwinPorts

Offline

 

#12 2005-11-10 1:19 pm

EricP
BandFan
From: Seattle WA
Registered: 2003-09-21
Posts: 327
Website

Re: Anyone hosting at home-without a static IP?

I used to be a Mac OS pro, until it went Unix. This stuff is foreign to me. I was kind of making fun of those installation instructions. tongue

Offline

 

#13 2005-11-10 2:28 pm

Gipetto
Yankee Doodle's noodle
Royal Wombat
From: People! Ahg!!
Registered: 2000-09-24
Posts: 9941
Website

Re: Anyone hosting at home-without a static IP?

Well, if you need a little help with it both Fink and Darwinports are a nice way to go. I think both even have GUI managers for them so after the initial installation of either system you don't have to go back into the command line again.

Offline

 

#14 2005-11-10 2:36 pm

Macskeeball
Member
Registered: 2002-02-07
Posts: 8014
Website

Re: Anyone hosting at home-without a static IP?

I know Fink does, but I haven't seen one for DarwinPorts.


tech writer for hire

Offline

 

#15 2005-11-10 4:30 pm

Gipetto
Yankee Doodle's noodle
Royal Wombat
From: People! Ahg!!
Registered: 2000-09-24
Posts: 9941
Website

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson