You need the ServerName statement. On Wed, Nov 11, 2009 at 11:48 PM, Siju George <[email protected]> wrote:
> HI I have the following ports.conf > > > > NameVirtualHost *:80 > Listen 80 > > <IfModule mod_ssl.c> > # SSL name based virtual hosts are not yet supported, therefore no > # NameVirtualHost statement here > Listen 443 > </IfModule> > > > Listen 213.49.146.24:8080 > > I have this in sites-enabled > > <VirtualHost 213.49.146.24:8080> > ServerAdmin webmas...@localhost > Redirect / https://213.49.146.24/ > > </VirtualHost > > > I have this line in /etc/hosts > > > 213.49.146.24 isystem > > when I try to restart apache it gives me this error > > # apache2ctl start > apache2: Could not reliably determine the server's fully qualified > domain name, using 127.0.1.1 for ServerName > (99)Cannot assign requested address: make_sock: could not bind to > address 213.49.146.24:8080 > no listening sockets available, shutting down > Unable to open logs > > What could be the trouble? > > Thanks > > --Siju > > --------------------------------------------------------------------- > 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: [email protected] > " from the digest: [email protected] > For additional commands, e-mail: [email protected] > >
