Web Hosting Talk







View Full Version : DNS Wildcards without Static IP


roly
04-27-2002, 08:25 PM
Is it possible to have DNS wildcards without a static ip address?

ToastyX
04-27-2002, 08:45 PM
Sure, Apache supports wildcards through ServerAlias.

priyadi
04-28-2002, 12:23 AM
It is possible, take a look at free dynamic dns providers, some of them offers wildcards. However you need more than a standard DNS server if you want to do that by yourself.

roly
04-28-2002, 12:54 AM
just how do i set that up?

priyadi
04-28-2002, 01:31 AM
Use a dynamic dns server, try finding one on freshmeat.net. I don't have specific recommendation however.

If you want an easier solution, go sign up with one of those dynamic dns service.

roly
04-29-2002, 02:29 AM
Originally posted by priyadi
Use a dynamic dns server, try finding one on freshmeat.net. I don't have specific recommendation however.

If you want an easier solution, go sign up with one of those dynamic dns service.
tell me a url please of a dns service

(SH)Saeed
04-29-2002, 05:52 AM
From my experience, www.mydomain.com offers that.

roly
04-29-2002, 06:28 PM
I would prefer not to use an external DNS service...

I tried to add* IN A <ip>to my zone file, then it redirected everything other than http://gotosite.biz and http://www.gotosite.biz to http://www.he.net
Do I have to do more configuration?

ToastyX
04-29-2002, 07:57 PM
Are we talking about a static IP address or a dedicated IP address? I assumed you were talking about a dedicated IP address from the context of your post, but priyadi is talking about a static IP address. I also assumed from the context of your post that you were asking about pointing *.yourdomain.ext to your web site, while priyadi is talking about DNS only. While priyadi actually answered what you asked, I don't think what you asked is what you wanted to ask... :eek:

Anyway, if you want to point *.gotosite.biz to your web site, not only do you have to add the wildcard DNS entry, which you did do, but you also have to tell Apache or whatever web server you or your web hosting provider is using to look for the wildcard. If it's Apache, then you have to add *.gotosite.biz to the ServerAlias entry in Apache's configuration file (httpd.conf) for your web site. If you don't have your own server, then you'll most likely have to contact your web hosting provider about this.

roly
04-30-2002, 04:24 AM
by staitc ip i mean that u own one, not oen that changes all the time lol
now what do i have to get my hsot to add to httpd.conf?

roly
05-01-2002, 04:46 AM
anyone?

Jedito
05-01-2002, 07:14 PM
<VirtualHost 10.1.1.1>
ServerName blah.dom
ServerAlias *.blah.dom
...
</VirtualHost>