Re: 'mydomain.com' doesn't work ('www.mydomain.com' does)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/7/06, thomas Armstrong <tarmstrong@xxxxxxxxx> 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


--
krist.vanbesien@xxxxxxxxx
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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux