httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberto" <Webmas...@debtremadvisors.com>
Subject RE: [users@httpd] users@httpd. Virtual Host not enough ?
Date Fri, 22 Aug 2008 16:08:04 GMT
ServerName www.yourdomain.com
ServerAlias yourdomain.com


-----Original Message-----
From: EJMcLeod@petersonmachineryco.com
[mailto:EJMcLeod@petersonmachineryco.com] 
Sent: Friday, August 22, 2008 12:08 PM
To: users@httpd.apache.org
Subject: [users@httpd] users@httpd. Virtual Host not enough ?


Hey Guys

First thanks for any help that you send my way.

In virtual host I would like to be able to get past the problem that occurs
when somebody is too lazy to type www. in front of the site address.

Which as you probably have already figured out means that the virtual host
directs the site to the default instead of the named virtual host.

Example

When I type
www.Google.com
I get the Google website
but when I type
Google.com
I get the default page which has nothing to do with Google.com

How can I keep this from happening.

I tried adding another VHost log for the Google.com problem but it didn't
work still went to default.

Please help me.
(Embedded image moved to file: pic06334.jpg)


---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message