Re: Virtual Host

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

 



On 4/27/07, Alejandro Decchi <adecchi@xxxxxxxxx> wrote:

Here in this file i include the configuration like :

<VirtualHost *:80>
    ServerAdmin admin@xxxxxxxx
    DocumentRoot /etc/apache2/htdocs/
    ServerName www.juan.com
    ServerAlias juan .com
    ErrorLog /etc/apache2/logs/error_log
    CustomLog /etc/apache2/logs/error_log common
</VirtualHost>


<VirtualHost *:80>
    ServerAdmin admin@xxxxxxxx
    DocumentRoot /etc/apache2/htdocs/
    ServerName www.juantere.com
    ServerAlias juantere .com
    ErrorLog /etc/apache2/logs/error_log
    CustomLog /etc/apache2/logs/error_log common
</VirtualHost>



then i try to enter to my differen site that are alocated in my server and
allways my server open the some webpage for old

The i put diferen virtual host for each domain in site-enable and i contunue
with the some trouble

Someone can Help me ??

You forgot "nameVirtualHost *:80". Remember that the argument to
nameVirtualHost must be identical to what you use in the <Virtualhost
blocks.

Another thing: I Also have a debian setup. The way I do it, is to not
add things to 000-default, but to create my own file, in
sites-available, and to enable it by linking it to sites-enabled.

Krist

--
krist.vanbesien@xxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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