virtual host weird problem..
i have problem.
i setup the dns server like this for example A record is example.com CNAME www.example.com point to example.com the problem is, it works fine if i type example.com in the url. but if i use the domain www.example.com, it point to another site on the server. do anyone have idea what happening... <VirtualHost example.com> *** ServerName example.com *** DocumentRoot /var/www/example *** ServerAdmin example@example.com *** ErrorLog /var/log/apache2/example-error_log *** CustomLog /var/log/apache2/example-access_log common </VirtualHost> thank you |
virtual host weird problem..
On Mon Apr 07, 2008 at 23:47:21 +0800, paragasu wrote:
> <VirtualHost example.com> > ServerName example.com Add: ServerAlias www.example.ocm Otherwise the first site on the host will be used. Steve -- Managed Anti-Spam Service http://mail-scanning.com/ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
| All times are GMT. The time now is 07:34 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.