You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Martin Smith <ma...@goldenhill.co.uk> on 2003/03/25 15:39:20 UTC

[users@httpd] Web site without the www prefix

I know this is  more of a DNS question, but using BIND, what would I put in
to my config file to have mydomain.com go to the same place as
www.mydomain.com on my web server??

Martin

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 17/03/2003

Re: [users@httpd] Web site without the www prefix

Posted by Nikunj Virani <ni...@netsurf.co.in>.
Apart from that you will need to add a ServerAlias on your VirtualHost
configuration file. Which would be some thing like:

ServerAlias www.YourDomain.com

Regards,
Nikunj Virani

----- Original Message -----
From: "Rus Foster" <rg...@fsck.me.uk>
To: <us...@httpd.apache.org>
Sent: Tuesday, March 25, 2003 8:12 PM
Subject: Re: [users@httpd] Web site without the www prefix


> On Tue, 25 Mar 2003, Martin Smith wrote:
>
> > I know this is  more of a DNS question, but using BIND, what would I put
in
> > to my config file to have mydomain.com go to the same place as
> > www.mydomain.com on my web server??
> >
> > Martin
>
> Hi
>  Want you want is a record in you DNS just below your NS lines which
> says
>
> IN A ip.ad.dr.es
>
> Basically you need to put in the IP address for domain.com. You can't do a
> CNAME of anything I'm afraid
>
>
> Rgds
>
> Rus
>
> --
> http://www.65535.net | MSN: support@65535.net | e: rghf@65535.net
>                   "More bits for your bite"
> IRC Accounts - Shell Accounts - Hosting - Email - Customer Solutions
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Web site without the www prefix

Posted by Rus Foster <rg...@fsck.me.uk>.
On Tue, 25 Mar 2003, Martin Smith wrote:

> I know this is  more of a DNS question, but using BIND, what would I put in
> to my config file to have mydomain.com go to the same place as
> www.mydomain.com on my web server??
>
> Martin

Hi
 Want you want is a record in you DNS just below your NS lines which
says

	IN	A	ip.ad.dr.es

Basically you need to put in the IP address for domain.com. You can't do a
CNAME of anything I'm afraid


Rgds

Rus

--
http://www.65535.net | MSN: support@65535.net | e: rghf@65535.net
                  "More bits for your bite"
IRC Accounts - Shell Accounts - Hosting - Email - Customer Solutions

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org