Assuming you are using Apache as your Web server you want to add the
following to your /etc/apache/http.conf file (where 192.168.1.2:80 is
the IP and port you are using):

NameVirtualHost 192.168.1.2:80

<VirtualHost 192.168.1.2:80>
ServerName www.domain1.com
{any other directives for this domain}
</VirtualHost>

<VirtualHost 192.168.1.2:80>
ServerName www.domain2.com
{any other directives for this domain}
</VirtualHost>

Take a look at http://www.apache.org for complete docs.


qmail is a Mail Transport Agent (MTA). That is, it serves the purpose of
sending and receiving mail between mail servers and uses SMTP. You are
looking for a server to service clients (i.e. Eudora) via POP3. There
are a number including qpopper and courier.

Pete
-- 
http://www.elbnet.com
ELB Internet Services, Inc.
Web Design, Computer Consulting, Internet Hosting


"[EMAIL PROTECTED]" wrote:
> 
> Hi All,
> 
> I have a few questions regarding email servers, web servers, etc.
> 
> I know that it is possible to set up virtual hosting by giving one box multiple IP 
>addresses. Is it possible to make www.domain1.com and www.domain2.com resolve to the 
>same IP but have some way of going to the right page on the server?
> 
> I was going to try qmail, but from what I have read on the qmail site (but I 
>probably interpreted it incorrectly), it is an SMTP server only. Is there some addon 
>to allow it to act as a POP3 server as well?
> 
> Thanks in advance,
> 
> Michael Jager
> [EMAIL PROTECTED]
> 
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to