afriq
06-16-2001, 04:02 AM
Hi there,
How does one add the ServerAlias for the main server domain?
I've added a ServerAlias line in /etc/admserv/conf/httpd.conf , but when restarting the server, I got this error:
"ServerAlias only used in <VirtualHost>"
The nasty side effect is that when accessing my site without the www bit (http://whatever.com") visitors are being redirected to the first VirtualHost in the conf file.
Thanks,
Johan
How does one add the ServerAlias for the main server domain?
I've added a ServerAlias line in /etc/admserv/conf/httpd.conf , but when restarting the server, I got this error:
"ServerAlias only used in <VirtualHost>"
The nasty side effect is that when accessing my site without the www bit (http://whatever.com") visitors are being redirected to the first VirtualHost in the conf file.
Thanks,
Johan
