LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-26-2008, 01:47 PM   #1
bambeklis
Member
 
Registered: Aug 2005
Posts: 58

Rep: Reputation: 15
apache + virtual hosts


Hi,

There's my home network topology:

Internet > dlink router > linux server

So I've signed up on free domain website, so assume that my address is test.domain.com
I've configured port forwarding on the router. I installed mail server with squirrelmail and i wanna that i can check my email on mail.test.domain.com. So how i understand i need to setup apache virtual host? Do i need to install DNS on my linux server? Explain howto implement that please?

Thanks
 
Old 05-26-2008, 02:38 PM   #2
dkm999
Member
 
Registered: Nov 2006
Location: Seattle, WA
Distribution: Fedora
Posts: 407

Rep: Reputation: 35
If you have only one domain that you will host on your machine, you do not need to deal with Virtual Hosts. That facility is designed for use when you have several different domains that all are hosted on a single server. The minimum you will need to do is to edit the file /etc/httpd/conf/httpd.conf to reflect where the website data lives on your server.

Likewise, if you have an assigned DNS name for your domain and some DNS server somewhere is currently resolving that name to an IP address, you do not need to run a local DNS server (it is called named) on your local machine. You might want to do so in order to improve the responsiveness of DNS lookups, but it is not necessary to get started.
 
Old 05-26-2008, 03:40 PM   #3
bambeklis
Member
 
Registered: Aug 2005
Posts: 58

Original Poster
Rep: Reputation: 15
Well I've registered another domain mail.test.domain.com and configured apache virtual hosting section and it works
 
  


Reply



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
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
Apache with virtual hosts linuxmandrake Linux - Security 1 09-14-2006 12:53 PM
Apache Virtual Hosts quozt Linux - General 3 10-15-2003 09:51 AM
Apache Virtual Hosts gbg Linux - Software 4 10-02-2003 08:35 AM
Apache Virtual Hosts (again) scatcat Linux - General 1 10-17-2002 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:51 PM.

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
Open Source Consulting | Domain Registration