Adding the www prefix

This is a discussion on Adding the www prefix within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi All, I am working on a new server and I am not sure what I have done wrong. I ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-11-2008
Brian S. Paskin
 
Posts: n/a
Default Adding the www prefix

Hi All,

I am working on a new server and I am not sure what I have done
wrong. I can get to the server with servername.com, but not with
www.servername.com.

Since this is the default site I added just the ServerName
servername.com and ServerAlias www.servername.com the <VirtualHost *>
stanza.

However, I still cannot get apache to recognize the www.servername.com.
Is there something in Bind that I have to setup? Or is it in something
in the VirtualHost stanza?

Any help is appreciated.

Thanks,
Brian
  #2 (permalink)  
Old 03-11-2008
D. Stussy
 
Posts: n/a
Default Re: Adding the www prefix

"Brian S. Paskin" <brian@paskino.com> wrote in message
news:8d1e6c00-1a1e-4e1d-8a27-8a13b05cdc66@e39g2000hsf.googlegroups.com...
> Hi All,
>
> I am working on a new server and I am not sure what I have done
> wrong. I can get to the server with servername.com, but not with
> www.servername.com.
>
> Since this is the default site I added just the ServerName
> servername.com and ServerAlias www.servername.com the <VirtualHost *>
> stanza.
>
> However, I still cannot get apache to recognize the www.servername.com.
> Is there something in Bind that I have to setup?


Yes. "www" has to exist in your zone and map to your web server address.

> Or is it in something in the VirtualHost stanza?


No.


  #3 (permalink)  
Old 03-11-2008
Brian S. Paskin
 
Posts: n/a
Default Re: Adding the www prefix

On Mar 11, 1:36 am, "D. Stussy" <s...@bde-arc.ampr.org> wrote:
> "Brian S. Paskin" <br...@paskino.com> wrote in messagenews:8d1e6c00-1a1e-4e1d-8a27-8a13b05cdc66@e39g2000hsf.googlegroups.com...
>
> > Hi All,

>
> > I am working on a new server and I am not sure what I have done
> > wrong. I can get to the server with servername.com, but not with
> >www.servername.com.

>
> > Since this is the default site I added just the ServerName
> > servername.com and ServerAliaswww.servername.comthe <VirtualHost *>
> > stanza.

>
> > However, I still cannot get apache to recognize thewww.servername.com.
> > Is there something in Bind that I have to setup?

>
> Yes. "www" has to exist in your zone and map to your web server address.
>
> > Or is it in something in the VirtualHost stanza?

>
> No.


Thanks for the tip, it worked!
Brian
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:15 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0