[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dynamic ip and a domain
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: dynamic ip and a domain
- From: Sascha Schnitzler <sascha_(_at_)_apsu_(_dot_)_de>
- Date: 08 Aug 2003 13:42:56 +0200
On Thu, 2003-08-07 at 13:17, GÃ«zim Hoxha wrote:
> Hi guys,
> I've got a dynamic IP and I run a web server (I also
> use dynamic dns). I bought a domain name and I use
> zoneedit.com as my dns server. My question is, is it
> possible to have my domain take the traffic to my
> dynamic IP (without me having to do it manually
> everytime my IP changes), and for the address bar to
> show my domain name?
Depends on your Domainname-Provider. Mine gives me the ability to create
an alias eg. foo.bar.com to foo.dyndns.org. CNAME or ALIAS im not fully
into this stuff.
All I need to do is a little apache tweaking. Define a virtualhost entry
based on IP and use a placeholder in your config (best in a template
file). Everytime you reconnect, parse your config file for the
placeholder, replace it with your current ip and reload apache with the
resulting configfile. Works fine for me.