[EMAIL PROTECTED] 'mydomain.com' doesn't work ('www.mydomain.com' does)

2006-12-07 Thread thomas Armstrong

Hi.

Working with Apache 2 on Linux, I'm trying to make server accept also
'mydomain.com'
petitions (www.mydomain.com works fine).

Within my httdp.conf, I've got:
-
VirtualHost 102.100.x.x:80
   ServerName   mydomain.com:80
   ServerAlias  www.mydomain.com
   UseCanonicalName Off
   DocumentRoot /var/www/mydomain.com/httpdocs/www
/VirtualHost
-

But it doesn't work: when typing 'mydomain.com' on my browser, I get one blank
webpage (not a Server not found message). I'd like to know where
http petitions
are launching (in which local directory). Any suggestion?

Thank you very much and happy holidays.

-
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]



Re: [EMAIL PROTECTED] 'mydomain.com' doesn't work ('www.mydomain.com' does)

2006-12-07 Thread Krist van Besien

On 12/7/06, thomas Armstrong [EMAIL PROTECTED] wrote:

Hi.

Working with Apache 2 on Linux, I'm trying to make server accept also
'mydomain.com'
petitions (www.mydomain.com works fine).

Within my httdp.conf, I've got:
-
VirtualHost 102.100.x.x:80
ServerName   mydomain.com:80
ServerAlias  www.mydomain.com
UseCanonicalName Off
DocumentRoot /var/www/mydomain.com/httpdocs/www
/VirtualHost
-

But it doesn't work: when typing 'mydomain.com' on my browser, I get one blank
webpage (not a Server not found message). I'd like to know where
http petitions
are launching (in which local directory). Any suggestion?


Does mydomain.com resolve to the same IP as www.mydomain.com?

Just do a domain name lookup on mydomain.com and see where it points.

Krist


--
[EMAIL PROTECTED]
Bremgarten b. Bern, Switzerland
--
...what you don't realize is that in the future Google WILL reach
sentience, will [have had] invent[ed] a time machine, and will [have
had] travel[ed] back in time to prevent Bill Gates... only to become
Bill Gates by accident because of a search engine optimization
miscalculation. (Comment on the Dilbert Blog)

-
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]