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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
"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. |
|
|||
|
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 | |
|
|