LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2003, 09:30 PM   #1
dengi
LQ Newbie
 
Registered: Jul 2003
Location: Lansing
Distribution: Redhat 8.0, 9, Debian 2.2
Posts: 8

Rep: Reputation: 0
Question Virtual Hosting with apache, i think...


Ok so maybe this has nothing to do with virtual hosting in apache, basically I wanted to know what steps I have to do to get

website.com/mail
(which is the homepage for logging into our mail server)

to be
mail.website.com

does this have more to do with dns entries rather than apache?


and I would also like to have people put in mail.website.com as their incoming and outgoing mail servers rather than straight up website.com

The web / email server is running Redhat 9 with the newest stable version of apache.

thanks in advance.

Derek
 
Old 10-26-2003, 10:43 PM   #2
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
To do what you want involves both DNS and virtual hosting.

First you need to add a DNS alias so that mail.website.com points to website.com. That's as far as you can go with DNS.

Then you have to configure Apache so that it serves different files when accessed via the name website.com versus mail.website.com. This involves using the Apache VirtualHost directive in the httpd.conf file. See the Apache documentation for more details.

Tim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Virtual Hosting abhijeetudas Linux - Networking 2 05-29-2005 05:26 AM
Apache 2.x Virtual Hosting vbfischer Linux - Software 3 04-21-2005 06:17 PM
Apache and Virtual Hosting gcobb Fedora 4 10-29-2004 01:10 AM
Help with Apache virtual hosting fin Linux - Newbie 1 04-30-2002 11:50 AM
Apache Virtual Hosting kmac Linux - General 2 04-12-2001 11:23 PM


All times are GMT -5. The time now is 03:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration