Domains without 'www.', very frustrating
Zack Odell
zodell at sctelcom.com
Wed Feb 11 22:57:24 UTC 2004
We solved this by putting a ServerAlias in the VirtualHost config in httpd.conf
ServerAlias www.jakeg.org jakeg.org
>>> Jake <jakeg at lineone.net> 02/11/04 04:12PM >>>
Hi,
Before you shout at me, I'm seen various threads on this already and
tried all the solutions but they're still not bloody working. I've
been trying to get this working for about 2 hours now.
I've setup a new server, jakeg.org, and http://www.jakeg.org is
working fine. As is http://[anything].jakeg.org. But I can't get good
ol' http://jakeg.org without a subdomain at the front.
Here's my Master File:
[snip]
$TTL 14400
;
@ IN SOA ns.jakeg.org. hostmaster.jakeg.org. (
2004021103
10800
3600
604800
86400 )
; name servers for domain
IN NS ns.jakeg.org.
IN NS ns2.jakeg.org.
; mail server for user at domain
IN MX 5 mail.jakeg.org.
; set domain = www.domain
IN A 217.199.184.151
; Addresses of hosts
*.jakeg.org. IN A 217.199.184.151
ns IN A 217.199.184.151
ns2 IN A 217.199.184.151
mail IN A 217.199.184.151
www IN A 217.199.184.151
ftp IN CNAME www
[/snip]
I've tried adding the following, trial and error, but none work (and
I'm sure *.jakeg.org. for subdomains isn't perfect, but at least it
works for now):
*. IN A 217.199.184.151
* IN A 217.199.184.151
IN A 217.199.184.151
@ IN A 217.199.184.151
*jakeg.org. IN A 217.199.184.151
*org. IN A 217.199.184.151
I'm using BIND DNS 9.2.1, making changes through Webmin, and I click
'Apply Changes' (restarts BIND) after I make changes.
PLEASE!!!! Somebody help me :(
Jake.
replies to this thread please :)
-- Attached file included as plaintext by Ecartis --
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 8pt Tahoma; MARGIN-LEFT: 2px">
<DIV><FONT size=1></FONT>We solved this by putting a ServerAlias in the
VirtualHost config in httpd.conf</DIV>
<DIV> </DIV>
<DIV>ServerAlias <A href="http://www.jakeg.org">www.jakeg.org</A>
jakeg.org</DIV>
<DIV> </DIV>
<DIV><BR><BR>>>> Jake <jakeg at lineone.net> 02/11/04 04:12PM
>>><BR>Hi,<BR><BR>Before you shout at me, I'm seen various threads on
this already and<BR>tried all the solutions but they're still not bloody
working. I've<BR>been trying to get this working for about 2 hours
now.<BR><BR>I've setup a new server, jakeg.org, and <A
href="http://www.jakeg.org">http://www.jakeg.org</A> is<BR>working fine. As is
<A href="http://[anything].jakeg.org.">http://[anything].jakeg.org.</A> But I
can't get good<BR>ol' <A href="http://jakeg.org">http://jakeg.org</A> without a
subdomain at the front.<BR><BR>Here's my Master File:<BR>[snip]<BR>$TTL
14400<BR>;<BR>@ IN SOA
ns.jakeg.org. hostmaster.jakeg.org. (<BR>
2004021103<BR>
10800<BR>
3600<BR>
604800<BR>
86400 )<BR>; name servers for domain<BR>
IN NS
ns.jakeg.org.<BR> IN
NS ns2.jakeg.org.<BR><BR>; mail server for
user at domain<BR> IN
MX 5 mail.jakeg.org.<BR>; set domain =
www.domain<BR> IN
A 217.199.184.151<BR>; Addresses of
hosts<BR>*.jakeg.org. IN A
217.199.184.151<BR>ns IN
A 217.199.184.151<BR>ns2
IN A
217.199.184.151<BR>mail
IN A
217.199.184.151<BR>www IN
A 217.199.184.151<BR>ftp
IN CNAME www<BR><BR><BR>[/snip]<BR><BR>I've
tried adding the following, trial and error, but none work (and<BR>I'm sure
*.jakeg.org. for subdomains isn't perfect, but at least it<BR>works for
now):<BR><BR>*. IN A
217.199.184.151<BR>* IN A
217.199.184.151<BR> IN A
217.199.184.151<BR>@ IN A
217.199.184.151<BR>*jakeg.org. IN
A 217.199.184.151<BR>*org.
IN A 217.199.184.151<BR><BR>I'm using BIND
DNS 9.2.1, making changes through Webmin, and I click<BR>'Apply Changes'
(restarts BIND) after I make changes.<BR><BR>PLEASE!!!! Somebody help me
:(<BR><BR>Jake.<BR><BR>replies to this thread please
:)<BR><BR></DIV></BODY></HTML>
More information about the bind-users
mailing list