Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-25-2003, 02:54 PM   #1
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
Apache: Third Level Domain

I have some confusion about third level and how to create third level domain.

First of all how domain is different from virtual host?

When I create third level domain let's say Do I create just a directory and how the directory is differ from domain.con/mike ?

Old 06-25-2003, 03:55 PM   #2
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
if you want to create a third level, you'll need to have a valid DNS entry for it first. (the name server for will need to know about

You can have an entry in your httpd.conf for and if you want to use you will only need to place /mike in the DocumentRoot for

If you wish to have apache serve pages for (provided you have the correct DNS info) you can use a VirtualHost directive with ServerName and a DocumentRoot pointing to wherever you placed /mike. placing /mike inder the DocumentRoot for would allow you to access the pages via or


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
domain and apache Smokey Slackware 4 06-25-2005 02:16 PM
Apache domain name zeroGsa Linux - Software 4 04-20-2005 12:37 PM
apache sub domain ? c0nsur Linux - Software 7 04-16-2005 12:43 PM
DNS & Top Level Domain JJX Linux - Networking 2 03-28-2004 07:56 AM
apache log level alaios Linux - Networking 1 12-08-2003 10:40 AM > Forums > Linux Forums > Linux - Software

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

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